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 812CB40024C
	for <info@awaresystems.be>; Thu, 10 Dec 2009 21:56:03 +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 978D2281
	for <info@awaresystems.be>; Thu, 10 Dec 2009 21:56:02 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 36F641D57BF90;
	Thu, 10 Dec 2009 15:55:11 -0500 (EST)
Received: from tecgraf.puc-rio.br (duchamp.tecgraf.puc-rio.br [139.82.85.1])
	by lists.maptools.org (Postfix) with ESMTPS id 459D21D18B155
	for <tiff@lists.maptools.org>; Thu, 10 Dec 2009 15:22:13 -0500 (EST)
Received: from antonio (magritte [10.0.8.92])
	by tecgraf.puc-rio.br (8.12.11.20060308/8.12.11) with ESMTP id
	nBAKM6ZL006324; Thu, 10 Dec 2009 18:22:06 -0200
From: "Antonio Scuri" <scuri@tecgraf.puc-rio.br>
To: "'Steve Mills'" <smills@multi-ad.com>,
	"'tiff list'" <tiff@lists.maptools.org>
References: <0CAB92DF-9766-485E-AB24-6C995925929F@multiad.com>	<2045F7DD5B1E4987B16C926D5A61EBD4@awarec74cb3e1c>
	<D1697835-9E70-459D-9B60-D25F49411585@multiad.com>
In-Reply-To: <D1697835-9E70-459D-9B60-D25F49411585@multiad.com>
Date: Thu, 10 Dec 2009 18:21:08 -0200
Message-ID: <000001ca79d6$4f547de0$edfd79a0$@puc-rio.br>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Acp50jozvtIOM6hHQ86of+o9UUz7dgAAw0Zg
Content-Language: pt-br
X-Virus-Status: Clean
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

  When loading YCbCr colorspace from JPEG compressed images I had a problem
with the size of the returned images. The logic in "tiff_jpeg.c" returns a
downsampled image. I fixed it changing the code so it returns a normal size
image. Let me know if you are interested.

Best Regards,
Antonio Scuri

> -----Original Message-----
> From: tiff-bounces@lists.maptools.org [mailto:tiff-
> bounces@lists.maptools.org] On Behalf Of Steve Mills
> Sent: quinta-feira, 10 de dezembro de 2009 17:37
> To: tiff list
> Subject: Re: [Tiff] YCbCr
> 
> 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/

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