[Baypiggies] Adding gif's to a PDF

Aahz aahz at pythoncraft.com
Sat Feb 20 16:20:37 CET 2010


On Fri, Feb 19, 2010, Tony Cappellini wrote:
>
> I've got several directories of gif images that are scans of an out
> of print magazines.  I'd like to write a program to iterate over the
> directories & images, and put the gifs as pages into a PDF file.  The
> gifs are full page scans and I want them to show up in the PDF as a
> full page, not a thumbnail or small image.
>
> Does anyone have an example of how to write images to a PDF file?

Dunno about GIFs, but the canonical Python library for writing PDF is
http://www.reportlab.com/
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"At Resolver we've found it useful to short-circuit any doubt and just        
refer to comments in code as 'lies'. :-)"


More information about the Baypiggies mailing list