Return-Path: <tiff-admin@remotesensing.org>
Received: from dee.skynet.be (dee.skynet.be [195.238.2.100])
        by twentyeight.skynet.be (8.12.9/8.12.9/Skynet-MAILSTORE-2.14) with ESMTP id i0NJ15P6012903
        for <joris.at.lebbeke@skynet.be>; Fri, 23 Jan 2004 20:01:19 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com ([208.24.120.42])
        by dee.skynet.be (8.12.9/8.12.9/Skynet-IN-2.32) with ESMTP id i0NJ0rmX007271
        for <joris.at.lebbeke@skynet.be>; Fri, 23 Jan 2004 20:00:53 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com (localhost.localdomain [127.0.0.1])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i0NJ06l10066;
	Fri, 23 Jan 2004 14:00:06 -0500
Received: from ERC.MsState.Edu (Sniper.ERC.MsState.Edu [130.18.14.12])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i0NIxil10045
	for <tiff@remotesensing.org>; Fri, 23 Jan 2004 13:59:44 -0500
Received: from pushkarpc (Pushkar-pc.ERC.MsState.Edu [130.18.13.50]); 
          by ERC.MsState.Edu (8.12.10/8.12.6/ERC-Mailhost/1.13) with SMTP; 
          id i0NIxd0K024742 for <tiff@remotesensing.org>; 
          Fri, 23 Jan 2004 12:59:39 -0600 (CST)
From: "Pushkar Pradhan" <pushkar@GRI.MsState.Edu>
To: "Tiff@Remotesensing.Org" <tiff@remotesensing.org>
Subject: RE: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB
Message-ID: <MJEBIBGMCDKIGEHPDECCKELKCGAA.pushkar@erc.msstate.edu>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
In-Reply-To: <20040123073933.GA6322@ak4719.spb.edu>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Sender: tiff-admin@remotesensing.org
Errors-To: tiff-admin@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Post: <mailto:tiff@remotesensing.org>
List-Subscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
List-Id: TIFF and libtiff discussion <tiff.remotesensing.org>
List-Unsubscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://remotesensing.org/pipermail/tiff/>
Date: Fri, 23 Jan 2004 12:59:38 -0600
X-UIDL: c42d91a5ac5a7a6ae930566a8c1cba89

> -----Original Message-----
> From: tiff-admin@remotesensing.org
> [mailto:tiff-admin@remotesensing.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
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

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://remotesensing.org/mailman/listinfo/tiff
