typemytype / drawbot

http://www.drawbot.com
Other
393 stars 61 forks source link

Add support for saving CMYK images #554

Open fhoehl opened 6 months ago

fhoehl commented 6 months ago

I needed to export TIFF images with CMYK. Even though I was setting imageColorSyncProfileData with macOS's Generic CMYK profile, the final output file did not have the colour profile set, and the encoded colours were in the RGB space.

I would happily invest more time and add tests if this PR looks valuable for the project!

This PR is related to #284 and #531.

justvanrossum commented 5 months ago

Hi, thank you so much for starting this! We are certainly interested in integrating this, and we would like you to encourage to write some tests. It is possible this will turn out harder than it should be. Let us know if you get blocked, then we can try to sort this out.

The "hyphenation" change in baseContext.py seems out of place. We would prefer a separate PR for that.