On jeudi 26 mars 2020 23:19:47 CET Joaquim Manuel Freire Luís 
wrote:
> Funny, I made it nodata = 1 and the zero moved to second place.

Fully determinstic behaviour: GDAL sets the alpha component of the 
entry in 
the color table whose value is nodata to 0:

https://github.com/OSGeo/gdal/blob/master/gdal/frmts/png/
pngdataset.cpp#L1820

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to