[Gdal-dev] gdal_merge: output colors reverted

Maciek Sieczka werchowyna at epf.pl
Fri Dec 9 14:15:43 EST 2005


On pią, 2005-12-09 at 14:05 -0500, Frank Warmerdam wrote:
> 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.

It helped, thanks!

Since gdalwarp and gdal_translate handle this automatically, could
gdal_merge too?

Best,
Maciek


--------------------
W polskim Internecie są setki milionów stron. My przekazujemy Tobie tylko najlepsze z nich!
http://katalog.epf.pl/




More information about the Gdal-dev mailing list