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

Image colors shown as negative of the uploaded image when resized #1663

Closed
stephanegigandet opened this issue Feb 13, 2019 · 4 comments
Closed

Comments

@stephanegigandet
Copy link
Contributor

A very strange bug, a specific jpg image has its colors completely messed up after upload to OFF, when it is resized by OFF.

karma-kombucha-citron-fr

Turns into:

image

@teolemon
Copy link
Member

Bad karma.

@stephanegigandet
Copy link
Contributor Author

It seems to be a bug when the JPG has the CMYK color profile instead of RGB. What's weird is that the old version of imagemagick / perlmagick on the old server does not have this issue.

@stephanegigandet
Copy link
Contributor Author

Probably due to this:

The behaviour of Set(colorspace) has changed:
https://www.imagemagick.org/discourse-server/viewtopic.php?p=143122#p143122
$magick->Set(colorspace => 'sRGB');

@stephanegigandet
Copy link
Contributor Author

Fixed.

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

No branches or pull requests

2 participants