Python Imaging Library (PIL): create PDF from scratch

Steve Holden steve at holdenweb.com
Mon Feb 23 13:00:08 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.
> 
PIL is great for graphics, but I use ReportLab's open source stuff (see
www.reportlab.org) for creating PDFs - that's what it was designed for,
and you can easily incorporate your graphics.

regards
 Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/




More information about the Python-list mailing list