[Gdal-dev] gdal_merge: output colors reverted

Frank Warmerdam warmerdam at pobox.com
Fri Dec 9 14:05:56 EST 2005


On 12/9/05, Maciek Sieczka <werchowyna at epf.pl> wrote:
> Frank,
>
> I have 2 tif+tfw B/W (black on white) sheets of topo map. Both are
> something like this (they only differ very slighlty in pixel size and
> size):

Maciek,

Could you try adding the -pct switch when you run
gdal_merge.py?   This should copy the colortable
from the first image to the result image.

Best regards,

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




More information about the Gdal-dev mailing list