[gdal-dev] gdal_translate to get rid of 3th band:
mitchelljj98 at gmail.com
Fri Apr 10 11:11:30 EDT 2009
When running gdal_translate to get rid of the 3th band of a 3 band RGB
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 color of the first 2 bands when getting rid of the 3rd
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev