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

Support DeviceCMYK images ColorSpace #711

Closed
Lucas-C opened this issue Feb 28, 2023 · 0 comments · Fixed by #756
Closed

Support DeviceCMYK images ColorSpace #711

Lucas-C opened this issue Feb 28, 2023 · 0 comments · Fixed by #756

Comments

@Lucas-C
Copy link
Member

Lucas-C commented Feb 28, 2023

Currently fpdf2 converts images in CMYK into simple DeviceRGB images:
https://github.com/PyFPDF/fpdf2/blob/2.6.1/fpdf/image_parsing.py#L74

However the PDF format allows to embed images defined in CMYK ColorSpace directly.

Implementing this would also be a first step towards #573


By implementing this feature you, as a benevolent FLOSS developper, will provide access to the large community of fpdf2 users to a useful functionality.
As a contributor you will get review feedbacks from the maintainer & other contributors, and learn about the lifecycle & structure of a Python library on the way.
You will also be added to the contributors list & map.

This issue can count as part of hacktoberfest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant