On 11-01-05 04:06 PM, MyKillK wrote:

Hello all,

My question is simple. Is it possible to combine two GeoTIFFs, each with its
own unique color palette into a single image that is properly color mapped?
Each image only has 16 colors so I feel like it should be possible to copy
Image #1's color table straight into indexes 0-15 and then remap Image #2's
color table to indexes 16-31. For the life of I can't figure out how this
can be done, it always wants to use Image #1's color table alone in the
merged TIFF.

Michael,

I am not aware of any existing GDAL application to do this.  You  could
use pct2rgb.py on each image, merge the RGB images, and then use rgb2pct.py
to produce a paletted image from the result that would likely have 32 colors.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to