Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a way for deterministic .icc output #465

Open
bmwiedemann opened this issue Nov 21, 2024 · 3 comments
Open

Need a way for deterministic .icc output #465

bmwiedemann opened this issue Nov 21, 2024 · 3 comments

Comments

@bmwiedemann
Copy link

In hughsie/colord#174 we found that .icc files in the colord package vary depending on the CPU used to build them.
Is there already a way to ensure that .icc output does not depend on availability of SSE or other CPU features? Or can you add it?

This issue was found while working on reproducible builds for openSUSE.

@mm2
Copy link
Owner

mm2 commented Nov 21, 2024

After spending some time in the files, I found only CMYK profiles are affected, profiles are truly different. Black point and white points in FOGRA27 profile are different, for instance. Littlecms does NOT compute such tags in any case, it is the caller program that requests to put the values. The profile seems to be generated by argyllcms whilst lcms is used to modify it somehow. Maybe to change some metadata. It seems the issue is not on lcms side because RGB profiles dealing with exactly same tags are not affected.

image

@bmwiedemann
Copy link
Author

Do you know of a (FLOSS) tool that can dump .icc info into text form (so that I can diff it)? That would greatly help debugging.

@mm2
Copy link
Owner

mm2 commented Nov 21, 2024

Unfortunately there are very few FOSS projects on ICC profiles. Maybe this one, but I cannot assure you it does what you need. https://sourceforge.net/projects/iccxml/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants