pil and reportlab: image compression
steph
stephan0h at yahoo.de
Thu Aug 26 07:16:51 EDT 2010
Hi group,
I've written a small application that puts images into a pdf document.
It works ok, but my problem is that the pdf-files become quite huge,
bigger than the original jpegs. The problem seems to arise because I
use PIL to resize the pictures - and the images seem to get
uncompressed in the process. Unfortunately I have not found a way to
compress them again before rendering them to the pdf. Any clues?
Thanks,
Stephan
More information about the Python-list
mailing list