[gdal-dev] Color-palette file for use in rgb2pct

2010-02-01 Thread Luuk Schaminee
Hi, I am trying to convert a 24 bit RGB TIFF file to a 8 bit TIFF file. Without the –pct option this works perfectly but I want to control the created colors with a palette file. So I tried the following command: rgb2pct -pct c:\color_file.txt c:\image.tif e:\new_image.tif. I downloaded

Re: [gdal-dev] Color-palette file for use in rgb2pct

2010-02-01 Thread Frank Warmerdam
Luuk Schaminee wrote: Hi, I am trying to convert a 24 bit RGB TIFF file to a 8 bit TIFF file. Without the –pct option this works perfectly but I want to control the created colors with a palette file. So I tried the following command: rgb2pct -pct c:\color_file.txt c:\image.tif

Re: [gdal-dev] Color-palette file for use in rgb2pct

2010-02-01 Thread Jan Hartmann
Hi Frank, could this be added to the documentation? Jan On 1-2-2010 12:37, Frank Warmerdam wrote: Luuk Schaminee wrote: Hi, I am trying to convert a 24 bit RGB TIFF file to a 8 bit TIFF file. Without the –pct option this works perfectly but I want to control the created colors with a

Re: [gdal-dev] Color-palette file for use in rgb2pct

2010-02-01 Thread Chaitanya kumar CH
I'm on it. On Mon, Feb 1, 2010 at 5:16 PM, Jan Hartmann j.l.h.hartm...@uva.nl wrote: Hi Frank, could this be added to the documentation? Jan On 1-2-2010 12:37, Frank Warmerdam wrote: Luuk Schaminee wrote: Hi, I am trying to convert a 24 bit RGB TIFF file to a 8 bit TIFF file.