Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-h.b-one.net (mx-h.one.com [91.198.169.55])
	by mail9.b-one.net (Postfix) with ESMTP id BC66F40024C
	for <info@awaresystems.be>; Thu, 10 Dec 2009 20:51:51 +0100 (CET)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=6 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-h.b-one.net (Postfix) with ESMTP id 4A4CB5EC
	for <info@awaresystems.be>; Thu, 10 Dec 2009 20:51:51 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id C88891D18B14B;
	Thu, 10 Dec 2009 14:50:57 -0500 (EST)
Received: from mail1.multi-ad.com (mail1.multi-ad.com [146.82.87.22])
	by lists.maptools.org (Postfix) with ESMTP id 699701D4A65CA
	for <tiff@lists.maptools.org>; Thu, 10 Dec 2009 14:37:17 -0500 (EST)
Received: from [192.168.1.4] ([146.82.87.20]) by
	mail1.multi-ad.com (Netscape Messaging Server 4.15) with ESMTP
	id KUGBU500.B4O for <tiff@lists.maptools.org>; Thu, 10 Dec 2009
	13:37:17 -0600 
Mime-Version: 1.0 (Apple Message framework v1077)
From: "Steve Mills" <smills@multi-ad.com>
X-Priority: 3
In-Reply-To: <2045F7DD5B1E4987B16C926D5A61EBD4@awarec74cb3e1c>
Date: Thu, 10 Dec 2009 13:37:16 -0600
Message-Id: <D1697835-9E70-459D-9B60-D25F49411585@multiad.com>
References: <0CAB92DF-9766-485E-AB24-6C995925929F@multiad.com>
	<2045F7DD5B1E4987B16C926D5A61EBD4@awarec74cb3e1c>
To: tiff list <tiff@lists.maptools.org>
X-Mailer: Apple Mail (2.1077)
Subject: Re: [Tiff] YCbCr
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

On Dec 10, 2009, at 13:19:35, Joris Van Damme (AWare Systems) wrote:

> Are you using the JPEG_COLORMODE pseudo-tag?

No. But I just added this call right after our call to TIFFClientOpen and it worked!

TIFFSetField(m_TIFF, TIFFTAG_JPEGCOLORMODE, JPEGCOLORMODE_RGB);

Is that the correct way to handle this?

_________________________________________________________
Steve Mills                              Me: 952-401-6255
Senior Software Architect                         MultiAd
smills@multiad.com                       www.multi-ad.com


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