Received: from mailgate002.isp.belgacom.be (mailgate002.isp.belgacom.be [195.238.6.87])
	by maildelivery022.isp.belgacom.be (Postfix) with ESMTP id 73B7D1A40A3
	for <joris.at.lebbeke@skynet.be>; Mon, 21 Apr 2008 18:21:35 +0200 (CEST)
Authentication-Results: in.mx.skynet.be; dkim=neutral (message not signed) header.i=none
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 21 Apr 2008 18:21:34 +0200
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 m3LFuAJm003041;
	Mon, 21 Apr 2008 11:58:04 -0400
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m3LFu8gG003027
	for <tiff@lists.maptools.org>; Mon, 21 Apr 2008 11:56:08 -0400
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	m3LFtuCI012175; Mon, 21 Apr 2008 10:55:56 -0500 (CDT)
Date: Mon, 21 Apr 2008 10:55:56 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: "Essraa A. Abou-Zeid" <eaaa12@yahoo.com>
Subject: Re: [Tiff] Reading RGB Image 
In-Reply-To: <628037.65070.qm@web56806.mail.re3.yahoo.com>
Message-ID: <Pine.SOC.4.64.0804211054000.19227@freddy.simplesystems.org>
References: <628037.65070.qm@web56806.mail.re3.yahoo.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: tiff@lists.maptools.org
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
X-UIDL: 000000000023ceae.00002c18
X-MSP-STORE: Mon, 21 Apr 2008 18:20:25 +0200
Status:   

On Mon, 21 Apr 2008, Essraa A. Abou-Zeid wrote:

> Another question regarding reading and Writing RGB images without 
> the alpha channel.... do I write it with normal writing functions or 
> shall I use a specific function for RGB that's built in libtiff?

I recommend using TIFFWriteScanline().  It is very efficient and more 
flexible than the simplified "RGB" interfaces.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
