Skip to content

Added media_white_point to ImageCms documentation #8829

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

Merged
merged 1 commit into from
Mar 24, 2025

Conversation

radarhere
Copy link
Member

Resolves #8827

Page 40 of https://www.color.org/icc32.pdf

This tag specifies the media white point and is used for generating absolute colorimetry.

This is mostly a copy of https://pillow.readthedocs.io/en/stable/reference/ImageCms.html#PIL.ImageCms.core.CmsProfile.media_black_point, although without

This tag was available in ICC 3.2, but it is removed from version 4.

Looking for evidence that media black point was removed in version 4, I found https://www.color.org/v4spec.xalter, that mentions the black tag, but not the white tag. Checking in https://www.color.org/specification/icc1v43_2010-12.pdf, the black tag is gone, but the white tag is still present.

@hugovk hugovk merged commit 053b579 into python-pillow:main Mar 24, 2025
5 checks passed
@radarhere radarhere deleted the media_white_point branch March 24, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CmsProfile.media_white_point not documented
2 participants