Hi

>Is there a recommended method of comparing ICC profiles for equality?

There is no exact way to do that, because same colorspace can be 
encoded in different profiles otherwise numerically equivalent. In 
practice, it is enough to check  whatever both files are equal 
DISCOUNTING THE HEADER. This is important because some 
flags may be changed when embedding. V4 ProfileID is computed 
taking the MD5 of whole profile after header, and this would be 
enough in most cases.

Regards,
Marti Maria
The little cms project
http://www.littlecms.com
[EMAIL PROTECTED]



----- Original Message ----- 
From: "Alastair M. Robinson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 01, 2004 1:12 PM
Subject: [Lcms-user] Comparing profiles for equality?


Hi everyone,

Is there a recommended method of comparing ICC profiles for equality?

Would you recommend stringwise comparison of the Name and Description, 
(or Manufacturer, Model or something else), the ProfileID (roughly what 
percentage of profiles in the wild have them?), or performing a binary 
comparison (or MD5 hash comparison) of the whole profile?

Thanks in advance for any insight you can give me...

All the best,
--
Alastair M. Robinson


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to