Return-Path: <tiff-bounces@remotesensing.org>
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx011.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j42EGs7Y005941
        for <joris.at.lebbeke@skynet.be>; Mon, 2 May 2005 16:16:55 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id 4910824EAD77; Mon,  2 May 2005 10:16:27 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from outmx008.isp.belgacom.be (outmx008.isp.belgacom.be
	[195.238.3.235])
	by xserve.flids.com (Postfix) with ESMTP id 2C15424EAD54
	for <tiff@remotesensing.org>; Mon,  2 May 2005 10:16:25 -0400 (EDT)
Received: from outmx008.isp.belgacom.be (localhost [127.0.0.1])
	by outmx008.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with
	ESMTP id j42EGJ9t020737
	for <tiff@remotesensing.org>; Mon, 2 May 2005 16:16:19 +0200
	(envelope-from <joris.at.lebbeke@skynet.be>)
Received: from dfgrrxsknr4e (72-166.246.81.adsl.skynet.be [81.246.166.72])
	by outmx008.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with SMTP
	id j42EGA2Q020650; Mon, 2 May 2005 16:16:10 +0200
	(envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <001001c54f21$8560b5f0$48a6f651@dfgrrxsknr4e>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: "Grissom, Ed" <ed.grissom@intergraph.com>, <tiff@remotesensing.org>
References: <3206D8FDDF2F2541A7715A8252289377105A893B@hq2.pcmail.ingr.com>
Subject: Re: [Tiff] Color TIFF/JPEG compression questions
Date: Mon, 2 May 2005 16:16:20 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Cc: 
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 000000000023ceae.0000018d
X-MSP-STORE: Mon, 02 May 2005 16:17:08 +0200
Status:   

Ed,

> ...confusion over RGB vs. YCbCr.
>
> This image has tags for both :

Good of you to notice, I hadn't. Indeed, this point is more foremost then the
points I made.

> TiffTechNote 2 requires that if the underlying JPEG compression
> uses YCbCr

Note that Photoshop apparently is able to save CMYK jpeg-in-tiff.

Tagdump of one such image generated with Photoshop:

SubFileType (1 Long): Zero
ImageWidth (1 Short): 3050
ImageLength (1 Short): 2035
BitsPerSample (4 Short): 8, 8, 8, 8
Compression (1 Short): JPEG Technote #2
Photometric (1 Short): Seperated
StripOffsets (407 Long): 26480, 50636, 74784, 99608, 124780, 150312,...
SamplesPerPixel (1 Short): 4
RowsPerStrip (1 Short): 5
StripByteCounts (407 Long): 24156, 24148, 24823, 25172, 25532, 25662,...
XResolution (1 Rational): 305
YResolution (1 Rational): 305
PlanarConfig (1 Short): Contig
ResolutionUnit (1 Short): Inch
Software (20 ASCII): Adobe Photoshop 7.0
DateTime (20 ASCII): 2004:08:29 15:13:38
DotRange (2 Byte): 0, 255
JpegTables (285 Undefined):
700 (4649 Byte): 60, 63, 120, 112, 97, 99, 107, 101, 116, 32,...
Photoshop (17958 Byte): 56, 66, 73, 77, 4, 37, 0, 0, 0, 0, 0, 16, 0,...
34665 (1 Long): 10661832

Upon examination of the first strip data, I see an APP14 marker, and 4 channels
specified in both the SOF0 and SOS marker. The 'color transform' byte in the
Adobe-style APP14 marker equals 0, which I take to mean that actual true CMYK is
encoded in the jpeg data, without additional tranformation.

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
