Got it - it's the renderer, not the layer itself:

QgsRasterLayer.renderer().opacity()



-----
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Get-raster-specifically-XYZ-transparency-in-Python-tp5307006p5307143.html
Sent from the QGIS - Developer mailing list archive at Nabble.com.
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to