2004.01.23 18:59 "RE: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Pushkar Pradhan
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org]On Behalf Of Andrey Kiselev
> Sent: Friday, January 23, 2004 1:40 AM
> To: Tiff@Remotesensing.Org
> Subject: Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB
You can rewrite such files using GDAL software. I have implemented Photometric setting as an option to the TIFF driver per your recent request. You can try to do something like:
$ gdal_translate -of GTiff -co "PHOTOMETRIC=RGB" bad.tif good.tif
I'm going to go with Andrey's suggestion of using the latest GDAL snapshot to convert it to RGB.
It's sad that a software like MATLAB doesn't have options to do all this and doesn't even allow you to read/write TIFFs other than 8-bit, 16-bit. Moreover it reads in the whole image at once and there seems to be no option to read in strips/tiles.
This has really become a problem for me.