Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx015.isp.belgacom.be (inmx015.isp.belgacom.be [195.238.2.218])
        by mailst006.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id i7GKtp2d032318
        for <joris.at.lebbeke@skynet.be>; Mon, 16 Aug 2004 22:55:51 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx015.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id i7GKtilD021305
        for <joris.at.lebbeke@skynet.be>; Mon, 16 Aug 2004 22:55:45 +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 D9B131E53BE; Mon, 16 Aug 2004 16:55:30 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from cp.escape.com (cp.escape.com [66.178.176.33])
	by xserve.flids.com (Postfix) with ESMTP id BEBC61E5398
	for <tiff@remotesensing.org>; Mon, 16 Aug 2004 16:55:28 -0400 (EDT)
Received: from modemcable163.6-70-69.static.videotron.ca ([69.70.6.163]
	helo=[192.168.0.2]) by cp.escape.com with esmtp (Exim 4.34)
	id 1BwoVs-0003mD-LE; Mon, 16 Aug 2004 16:55:28 -0400
In-Reply-To: <5.1.0.14.0.20040816162938.02320df8@corpmail.kodak.com>
References: <5.1.0.14.0.20040816162938.02320df8@corpmail.kodak.com>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <98A00BB6-EFC6-11D8-995D-000A95B947DC@toomuchspace.com>
Content-Transfer-Encoding: 7bit
From: Alexander Cohen <alex@toomuchspace.com>
Date: Mon, 16 Aug 2004 16:55:25 -0400
To: Jim Schueckler <James.Schueckler@Kodak.com>
X-Mailer: Apple Mail (2.619)
X-AntiAbuse: This header was added to track abuse,
	please include it with any abuse report
X-AntiAbuse: Primary Hostname - cp.escape.com
X-AntiAbuse: Original Domain - remotesensing.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - toomuchspace.com
X-Source: 
X-Source-Args: 
X-Source-Dir: 
Cc: tiff@remotesensing.org
Subject: [Tiff] Re: ICC profile in tiff file on windows
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: 64dad71c653cb311b9bc2a32a67b8d94

>> Alexander,
>>
>> Your code that parses TIFF tags and TIFF data types should not be
>> messing with the ICC profile data.  Code that works with ICC profiles
>> that run on a Windows platform knows that all the ICC profile
>> is big endian ( like an "MM" TIFF file ) and should do the proper
>> byte swapping for shorts and longs inside the ICC profile code.
>>
>> BUT: if you try to read a short or long from an ICC profile with
>> Windows code, the bytes will be in the wrong order.
>>
>> The moral of the story: you might be trying to do something that
>> a Color Management System library should do for you.

Nope, im just reading the ICC profile tag, and taking that data and 
passing it to the "OpenColorProfile" function in the windows API. The 
same works on mac (with the mac version of the call).

Alex

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