Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas022.isp.belgacom.be (localhost [127.0.0.1])
        by inav005.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id j89FH9U8019291
        for <joris.at.lebbeke@skynet.be>; Fri, 9 Sep 2005 17:17:09 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx008.isp.belgacom.be (inmx008.isp.belgacom.be [195.238.3.88])
        by inas022.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id j89FH0eB001259
        for <joris.at.lebbeke@skynet.be>; Fri, 9 Sep 2005 17:17:01 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx008.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j89FGtUb026677
        for <joris.at.lebbeke@skynet.be>; Fri, 9 Sep 2005 17:16:56 +0200
        (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 j89FB6s5009565;
	Fri, 9 Sep 2005 11:11:31 -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 j89FB4wN009561
	for <tiff@lists.maptools.org>; Fri, 9 Sep 2005 11:11:04 -0400
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	j89FB38a010151; Fri, 9 Sep 2005 10:11:03 -0500 (CDT)
Date: Fri, 9 Sep 2005 10:11:03 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@blade.simplesystems.org
To: Joris <joris.at.lebbeke@skynet.be>
Subject: Re: [Tiff] creating JPEG file 
In-Reply-To: <Pine.SOC.4.60.0509090951110.13765@blade.simplesystems.org>
Message-ID: <Pine.SOC.4.60.0509091010110.13765@blade.simplesystems.org>
References: <000201c5b4a9$545c3950$4500a8c0@MOJO>
	<Pine.SOC.4.60.0509081756210.13765@blade.simplesystems.org>
	<001f01c5b521$57ea0570$58a0f551@dfgrrxsknr4e>
	<Pine.SOC.4.60.0509090951110.13765@blade.simplesystems.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: Tiff List <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.00000be6
X-MSP-STORE: Fri, 09 Sep 2005 17:17:18 +0200
Status:   

On Fri, 9 Sep 2005, Bob Friesenhahn wrote:

> GraphicsMagick is doing something a bit odd though since it uses
>
>  (void) TIFFSetField(tiff,TIFFTAG_JPEGCOLORMODE,JPEGCOLORMODE_RGB);
>
> The only other choice appears to be JPEGCOLORMODE_RAW.  Maybe 
> JPEGCOLORMODE_RAW should be used for CMYK?

I tried passing JPEGCOLORMODE_RAW and it made no difference.  Libtiff 
still added a subsampling tag.

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/
