AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.01.23 04:48 "[Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Pushkar Pradhan
2004.01.23 05:15 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 07:39 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Andrey Kiselev
2004.01.23 15:18 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 15:48 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Frank Warmerdam
2004.01.23 15:57 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 16:44 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Frank Warmerdam
2004.01.23 18:59 "RE: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Pushkar Pradhan
2004.01.23 20:29 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Andrey Kiselev
2004.01.23 17:16 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Joris Van Damme
2004.01.23 17:38 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Frank Warmerdam
2004.01.23 17:57 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Joris Van Damme
2004.01.23 18:55 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Frank Warmerdam
2004.01.23 19:15 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Joris Van Damme
2004.01.23 19:19 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 19:24 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Frank Warmerdam
2004.01.23 20:12 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Chris Cox
2004.01.23 20:30 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 20:52 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Chris Cox
2004.01.23 19:15 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 20:17 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Andy Cave

2004.01.23 18:59 "RE: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Pushkar Pradhan

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

Hi all,

I'm going to go with Andrey's suggestion of using the latest GDAL snapshot to convert it to RGB.

Off-topic:

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.

Pushkar