Python Imaging Library (PIL): create PDF from scratch

Z

zelegolas

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
 
S

Steve Holden

zelegolas said:
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
 
Z

zelegolas

Like David said now i used PIL for individual images and reportlab to
generate a pdf.

Thanks for your advices :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top