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

Add support for other color spaces #159

Merged
merged 3 commits into from
Dec 24, 2023
Merged

Add support for other color spaces #159

merged 3 commits into from
Dec 24, 2023

Conversation

kaden-sharpin
Copy link

Currently, the writer refuses to encode images that aren't in the RGB color space. This change allows for images in other color spaces to be accepted. They are first converted to RGB then encoded.

I used these files to test before and after:
cmyk.jpg
grayscale.jpeg

kadensharpin and others added 3 commits December 16, 2023 14:28
Currently, the writer refuses to encode images that aren't in the
RGB color space. This change allows for images in other color
spaces to be accepted. They are first converted to RGB then
encoded.
@mateuszkwiecinski
Copy link
Member

Thanks! 🙏 I allowed myself to push dummy tests covering the scenario from your description.

@mateuszkwiecinski mateuszkwiecinski merged commit 02b5ed6 into usefulness:master Dec 24, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants