Re: [gdal-dev] gdal_translate to get rid of 3th band:

2009-04-10 Thread Frank Warmerdam
John Mitchell wrote: Hi, When running gdal_translate to get rid of the 3th band of a 3 band RGB geotiff image: gdal_translate -b 1 -b 2 sourcefilename outputfilename It got rid of the 3rd band but it made the first band gray and the second band undefined which caused the new geotiff to be g

[gdal-dev] gdal_translate to get rid of 3th band:

2009-04-10 Thread John Mitchell
Hi, When running gdal_translate to get rid of the 3th band of a 3 band RGB geotiff image: gdal_translate -b 1 -b 2 sourcefilename outputfilename It got rid of the 3rd band but it made the first band gray and the second band undefined which caused the new geotiff to be gray. How can I keep the co