[reportlab-users] Patch for inclusion of CMYK images as CMYK, not converted to RGB

Tim Roberts timr at probo.com
Mon Feb 2 17:35:47 EST 2009


Stevens, Ian wrote:

> The following patch to pdfimage includes unconverted CMYK images in

> the PDF to preserve colours. We have clients who pass their PDFs

> through a preflight tool before sending it to press and want all

> content to be CMYK. The patch uses PIL's Image.mode to decide whether

> to convert the image. We've been using this on our production servers

> since 2.1 without problem.


For what it's worth, this is a VERY useful thing to have. I've been
through that same professional preflight process, and you really do get
substantially better results if your PDF's JPEGs remain in CMYK.

--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the reportlab-users mailing list