Hi, I want to export as a RGBA GeoTIFF a raster to which I have applied a symbology but I can't find how to do it in Python. I want the same result as when I right-click on my layer, click Export -> Save As... and check Rendered image instead of Raw data. The GDAL tool PCT to RGB exist but is less flexible and, in my case, just crash with my layer. I didn't find a methods for doing this with a QgsMapLayer.
Thanks a lot Jean-François Bourdon, ing.f. Analyste en télédétection Direction des inventaires forestiers Ministère des Forêts, de la Faune et des Parcs 5700, 4e Avenue Ouest, local A-108 Québec (Québec) G1H 6R1 Téléphone : 418 627-8669, poste 4304 jean-francois.bour...@mffp.gouv.qc.ca mffp.gouv.qc.ca<http://www.mffp.gouv.qc.ca/accueil.jsp>
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer