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

Removed CMYK conversion formulas #24495

Merged
merged 1 commit into from
Aug 16, 2022
Merged

Removed CMYK conversion formulas #24495

merged 1 commit into from
Aug 16, 2022

Conversation

WestLangley
Copy link
Collaborator

The RGB and CMYK color spaces have different gamuts. Conversion from RGB to CMYK is device-dependent, and the conversion is a non-trivial operation.

Proper conversion between RGB and CMYK color spaces involves the use of device-specific ICC color profiles.

See, for example, the Conversion Section in this Wikipedia article.

Anyone using CMYK color printing will know how to properly handle their use case.

The formulas removed in this PR convert RGB black to CMYK NaN, and are not useful.

@gkjohnson gkjohnson added this to the r144 milestone Aug 14, 2022
@mrdoob mrdoob merged commit add57ef into mrdoob:dev Aug 16, 2022
@mrdoob
Copy link
Owner

mrdoob commented Aug 16, 2022

Thanks!

@WestLangley WestLangley deleted the dev_cmyk branch August 16, 2022 08:37
@joshuaellis joshuaellis mentioned this pull request Aug 17, 2022
3 tasks
abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
snagy pushed a commit to snagy/three.js-1 that referenced this pull request Sep 21, 2022
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

Successfully merging this pull request may close these issues.

4 participants