[gdal-dev] Issue with writen colortables
Osahon Oduware
osahon.gis at gmail.com
Mon Mar 30 06:31:25 PDT 2020
**Copy links to browser address bar if they are not opening upon click:
*LEAH SHARIBU, 2 YEARS AFTER*:
https://www.docdroid.net/fWQ480p/leah-sharibu-2-years-after.pdf
BE WISE AS SERPENTS (Facebook Page Link)*:
https://m.facebook.com/story.php?story_fbid=10223074657920398&id=1399351130
On Mar 26, 2020 20:59, "Joaquim Manuel Freire Luís" <jluis at ualg.pt> wrote:
> Attached are two tinny indexed 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 GDAL and Matlab.
>
>
>
> The code that writes it is
>
> https://github.com/GenericMappingTools/gmt/blob/
> master/src/gmt_gdalwrite.c#L343
>
> where .c4 is well set to 255. However when it lands on the file, the first
> was converted to 0.
>
>
>
> Again, I’m doing this the Julia bindings so have no C code to provide a
> MWE.
>
>
>
>
>
>
>
> Thanks
>
>
>
> Joaquim
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200330/63424317/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 20381 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200330/63424317/attachment-0001.jpg>
More information about the gdal-dev
mailing list