AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2004.08.16 17:29 "ICC profile in tiff file on windows", by Alexander Cohen
2004.08.16 17:56 "Re: ICC profile in tiff file on windows", by Chris Cox
2004.08.16 18:12 "Re: ICC profile in tiff file on windows", by Alexander Cohen
2004.08.16 19:32 "Re: ICC profile in tiff file on windows", by Chris Cox
2004.08.16 19:55 "Re: ICC profile in tiff file on windows", by Alexander Cohen
2004.08.16 20:26 "Re: ICC profile in tiff file on windows", by Chris Cox
2004.08.16 20:36 "ICC profile in tiff file on windows", by Jim Schueckler
2004.08.16 20:55 "Re: ICC profile in tiff file on windows", by Alexander Cohen
2004.08.16 21:04 "Re: ICC profile in tiff file on windows", by Chris Cox
2004.08.16 21:48 "Re: ICC profile in tiff file on windows", by Alexander Cohen
2004.08.18 17:55 "Re: ICC profile in tiff file on windows", by Phillip Crews
2004.08.16 23:07 "Re: ICC profile in tiff file on windows", by Joris Van Damme
2004.08.16 23:18 "Re: ICC profile in tiff file on windows", by Chris Cox
2004.08.21 14:11 "Re: ICC profile in tiff file on windows", by Joris Van Damme

2004.08.16 20:36 "ICC profile in tiff file on windows", by Jim Schueckler

At 3:55 PM -0400 8/16/04, Alexander Cohen wrote:
> Ok.
>
> But im still getting some weird values out of it. Im just reading the tag 
> data, and writting out directly to disk. ON mac, everything is fine. On 
> windows, some tags are garbage, and this makes ICM crash when trying to 
> read that profile.


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.


Jim Schueckler  (585)726-6369       Professional Digital Cameras 1/205/KP
kmx-236-6369 fax(585)726-6669       Eastman Kodak Company MS 03010
mailto:James.Schueckler@kodak.com   2400 Mt Read Boulevard
http://www.kodak.com/go/kpdp        Rochester NY 14650-3010
"Oh! I have slipped the surly bonds of earth..." J.G. McGee