[gdal-dev] Issue with writen colortables

Even Rouault even.rouault at spatialys.com
Thu Mar 26 16:24:19 PDT 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200327/845109a2/attachment.html>


More information about the gdal-dev mailing list