Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas006.isp.belgacom.be (localhost [127.0.0.1])
        by inav005.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id l1RIxqCU006357
        for <joris.at.lebbeke@skynet.be>; Tue, 27 Feb 2007 19:59:52 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx020.isp.belgacom.be (inmx020.isp.belgacom.be [195.238.5.139])
        by inas006.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id l1RIxmAU007719
        for <joris.at.lebbeke@skynet.be>; Tue, 27 Feb 2007 19:59:52 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx020.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id l1RIxfmE002614
        for <joris.at.lebbeke@skynet.be>; Tue, 27 Feb 2007 19:59:42 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l1RIeax9004093;
	Tue, 27 Feb 2007 13:42:21 -0500
Received: from web23413.mail.ird.yahoo.com (web23413.mail.ird.yahoo.com
	[217.146.189.98])
	by duke.maptools.org (8.12.11/8.12.10) with SMTP id l1RIeYCX004090
	for <tiff@lists.maptools.org>; Tue, 27 Feb 2007 13:40:34 -0500
Received: (qmail 51706 invoked by uid 60001); 27 Feb 2007 18:40:17 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.es;
	h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;
	b=fhhwzKYjBC2B/yd6ZwKivVvJHs3UsmNj36hwz3nyGzaeL9x/Au0s7LUE/XLIpSSzmfxdSGe1FoLe90FLDf3JFpBN6eP5Ph88Ljl3WyYHk8F8xmtwxlz7ztD8TfN9QVcNC8jvj+CWyL6I23XMAp8333xOOZIGL3/o4bku+ppBQPI=;
X-YMail-OSG: FpwzodAVM1mcaioVHue2622j5v_FutGdqS23LNTceUjNQFlmoovw8m.it1CHeDjm2.Bh0p80wtRlrNHJq7sibppWmWVghmGqYX46KaImkfcLXV3EaTo-
Received: from [130.206.158.164] by web23413.mail.ird.yahoo.com via HTTP;
	Tue, 27 Feb 2007 19:40:17 CET
Date: Tue, 27 Feb 2007 19:40:17 +0100 (CET)
From: maria fernandez <marywey@yahoo.es>
To: tiff@lists.maptools.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Message-ID: <591905.49913.qm@web23413.mail.ird.yahoo.com>
Subject: [Tiff] convert grey-scale to RGB image
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by inav005.isp.belgacom.be id l1RIxqCU006357
X-UIDL: 000000000023ceae.00002121
X-MSP-STORE: Tue, 27 Feb 2007 19:59:56 +0100
Status:   

Hi!!

I have a black&white tiff image.=20
I read this image with TIFFReadScanline and I show
pixels value, I obtain values since 0 until 255. I
don't know why because like I have said before is a
black&white image.

I have opened the image with the GIMP and I have seen
that the image was in grey-scale, then I have saved it
as RGB image.

I have read this last image with TIFFReadScanline and
now the pixels value are 0 or 255, that it's ok
because the image always has been a black&white image.

Is there a method that converts a grey-scale image to
RGB image?

I have to do this process with a lot of images, so I
want to automatize this process.

Thanks a lot,=20

Mary


	=09
______________________________________________=20
LLama Gratis a cualquier PC del Mundo.=20
Llamadas a fijos y m=F3viles desde 1 c=E9ntimo por minuto.=20
http://es.voice.yahoo.com
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
