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.

Comments

Kosa Ilma created an issue. See original summary.

kosa ilma’s picture

kosa ilma’s picture

Assigned: kosa ilma » Unassigned
Status: Active » Needs review
szato’s picture

Status: Needs review » Reviewed & tested by the community

Checked, works for me. Thank you.

renrhaf’s picture

+1 that fixes the saturated color issues for us as well ! thanks @kosa-ilma !

  • renrhaf committed f0c23e7d on 2.x
    Issue #3414282 by Kosa Ilma, szato, renrhaf: Convert CMYK colors to RGB...
renrhaf’s picture

Status: Reviewed & tested by the community » Fixed

Patch committed to 2.x branch, thanks !

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.