Skip to content

Fix luma to CMYK conversion - #4425

Merged
laurmaedje merged 1 commit into
typst:mainfrom
EpicEricEE:luma-cmyk
Jun 22, 2024
Merged

laurmaedje merged 1 commit into
typst:mainfrom
EpicEricEE:luma-cmyk

Conversation

@EpicEricEE

Copy link
Copy Markdown
Contributor

The luma value is basically the "amount of white" but the CMYK values are rather an "amount of darkness" so it should be inverted. Previously cmyk(black) would return white (and the other way around).

This was also included in #2661 but then forgotten.

@laurmaedje
laurmaedje added this pull request to the merge queue Jun 22, 2024
@laurmaedje

Copy link
Copy Markdown
Member

Thanks!

Merged via the queue into typst:main with commit 09e3bbd Jun 22, 2024
@EpicEricEE
EpicEricEE deleted the luma-cmyk branch July 3, 2024 09:32
Myriad-Dreamin pushed a commit to Myriad-Dreamin/typst that referenced this pull request Jul 9, 2024
@LaurenzV LaurenzV mentioned this pull request Mar 10, 2025
16 of 17 tasks
Dikluwe pushed a commit to Dikluwe/typst-crystalline that referenced this pull request Sep 12, 2026
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.

2 participants