[gdal-dev] vrt removes transparent pixels?

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Apr 6 16:29:35 EDT 2010


Wendell,

Can you provide the exact commands you used?

On Wed, Apr 7, 2010 at 12:52 AM, Wendell Turner <wendell at enflight.com>wrote:

> 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
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9848167848
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100407/cefe3189/attachment.html


More information about the gdal-dev mailing list