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

Revisit ICC correction on float data #1796

Open
manthey opened this issue Jan 30, 2025 · 0 comments
Open

Revisit ICC correction on float data #1796

manthey opened this issue Jan 30, 2025 · 0 comments

Comments

@manthey
Copy link
Member

manthey commented Jan 30, 2025

We have a sample file (the one with sha512 ae05dbe6f3330c912893b203b55db27b0fdf3222a0e7f626d372c09668334494d07dc1d35533670cfac51b588d2292eeee7431317741fdb4cbb281c28a289115) which was converted to float32 pixels and has an ICC color profile. When we apply the ICC color profile (via PIL's tools), we really need to scale the data first. In general, when using ICC color profiles on data that is not uint8 and uint16, we probably should verify the data range beforehand.

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

1 participant