Opened 18 months ago
Last modified 18 months ago
#47840 new enhancement
Weird colors when users upload CMYK JPG images
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | minor | Version: | 5.2.2 |
Component: | Media | Keywords: | needs-patch |
Focuses: | ui | Cc: |
Description (last modified by )
When a user uploads an image which uses the CMYK color spectrum and WordPress applies its magic to the image the colors become very much mixed up.
It would be nice if WordPress would recognize the image format and perhaps convert the CMYK image to an RGB before applying the image optimizations.
How to reproduce the problem?
- Go to Gallery (media)
- Upload a JPG image which uses the CMYK color spectrum
- Watch how e.g. the color green becomes yellow ;)
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
WordPress doesn't actually have any code to do images on that level, it uses the available libraries already installed on the host, like GD or ImageMagick, to do that grunt work.
So, if something is wrong there, then you need to identify specifically which versions of which libraries are causing the issue. Workarounds might be found, but you'd need to identify them and provide example images that can reproduce the problem.