Python Imaging Library (PIL): create PDF from scratch

Scott David Daniels Scott.Daniels at Acm.Org
Mon Feb 23 14:11:33 EST 2009


zelegolas wrote:
> Hi,
> 
> I have some scan generated by SANE and i would like to do some
> transformation (like crop, brightness and resize) and finaly put all
> those images in PDF file.
> 
> With PIL i can do all the transformations that i want. But i don't
> know how i can create from scratch a PDF. I'm not even sure that PIL
> is the right library for that.
> 
> Any help/informations will be appreciate

Use PIL to fiddle the individual images, and reportlab to build
a pdf from the (now tweaked) images.

--Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-list mailing list