[reportlab-users] Inserting RGB image with CYMK color space using reportlab

Andy Robinson andy at reportlab.com
Sat Jul 4 13:44:32 EDT 2015


You need to talk to your printer and find out what they can accept.
Many printers are able to handle RGB images within CMYK documents and
if so, that's the best approach.

Failing that, try to convert your image using Photoshop.   I don't
know what the algorithms are in PIL but have often noticed that
colours don't look so great after transformations in PIL.  If you need
to do it programmatically, ImageMagick is better.

Andy Robinson

On 4 July 2015 at 14:38, Kaviraj Kanagaraj <kaviraj at launchyard.com> wrote:
> Hi
> I am trying to creating pdf that is to be printable. So I need to insert
> RGB image into pdf with CYMK color space using reportlab. I have gone
> through doc where I can only find inserting text or drawing some figures
> using CYMK. How will I handle the same for Image?
> What is the ideal way to do it. I have tried converting Image to CYMK mode
> using PIL  python library and inserted into pdf using reportlab. But Image
> looks dull and I think its not ideal way. Please help me figuring out proper
> way to do it.
> Thanks in advance
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at lists2.reportlab.com
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users

More information about the reportlab-users mailing list