On jeudi 26 mars 2020 19:58:52 CET Joaquim Manuel Freire Luís wrote: > images created with GMT but via GDAL. > The .tif file looks right but if look at the .png (it needs lots of zoom) we > can see that the top left pixel is missing. That happens, I think, because > the transparency column has a first value of 0 whilst all the others are > 1's. I checked this both with
You should probably not set the nodata value to 0. This will cause the alpha component for entry 0 of the color table to be set to 0 when writing PNG Even -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
