Wendell,<br><br>Can you provide the exact commands you used?<br><br><div class="gmail_quote">On Wed, Apr 7, 2010 at 12:52 AM, Wendell Turner <span dir="ltr"><<a href="mailto:wendell@enflight.com">wendell@enflight.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I want to change the color palette on a gif file. The<br>
instructions on the wiki here:<br>
<a href="http://trac.osgeo.org/gdal/wiki/FAQRaster#Howtocreateormodifyanimagecolortable" target="_blank">http://trac.osgeo.org/gdal/wiki/FAQRaster#Howtocreateormodifyanimagecolortable</a><br>
explain how to do it:<br>
gdal_translate -of VRT your.tif your.vrt<br>
gdal_translate your.vrt your_fixedup.tif<br>
<br>
but doing this (without editing the .vrt file) changes<br>
transparent pixels to white. Is there a way to use<br>
gdal_translate to do this and also keep transparent pixels?<br>
<br>
Or is that related to error message from gimp?<br>
.gif: unknown field with tag 42113 (0xa481) encountered<br>
(gimp didn't complain about the original image)<br>
<br>
<br>
Thanks,<br>
<br>
Wendell<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9848167848<br>17.2416N 80.1426E<br>