[gdal-dev] vrt removes transparent pixels?
Wendell Turner
wendell at enflight.com
Tue Apr 6 15:22:43 EDT 2010
I want to change the color palette on a gif file. The
instructions on the wiki here:
http://trac.osgeo.org/gdal/wiki/FAQRaster#Howtocreateormodifyanimagecolortable
explain how to do it:
gdal_translate -of VRT your.tif your.vrt
gdal_translate your.vrt your_fixedup.tif
but doing this (without editing the .vrt file) changes
transparent pixels to white. Is there a way to use
gdal_translate to do this and also keep transparent pixels?
Or is that related to error message from gimp?
.gif: unknown field with tag 42113 (0xa481) encountered
(gimp didn't complain about the original image)
Thanks,
Wendell
More information about the gdal-dev
mailing list