Problem/Motivation
If we have a pdf file with CMYK colorspace, the generated thumbnail will have incorrect colors.
Steps to reproduce
Upload a pdf file with CMYK colorspace.
Proposed resolution
When we create the thumbnail for the pdf, we need to set the the colorspace to Imagick::COLORSPACE_SRGB.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3414282-convert-cmyk-colors-to-rgb-for-generated-thumbnail-2.patch | 479 bytes | kosa ilma |
Comments
Comment #2
kosa ilma commentedThe patch:
Comment #3
kosa ilma commentedComment #4
szato commentedChecked, works for me. Thank you.
Comment #5
renrhaf+1 that fixes the saturated color issues for us as well ! thanks @kosa-ilma !
Comment #7
renrhafPatch committed to 2.x branch, thanks !