Re: Photo layout

2005-06-27 Thread stephen
Thanks! This works well -- I was letting myself be too intimidated with reportlab before looking at the documentation, but it was really not hard at all. I think I figured out how to do landscape mode too. from reportlab.pdfgen import canvas from reportlab.lib.pagesizes import letter def insertPi

Re: Photo layout

2005-06-27 Thread Miki Tebeka
Hello Stephen, > I'd like to take a directory of photos and create a pdf document with > four photos sized to fit on each (landscape) page. Use LaTex (pdflatex that is, see www.tug.org). It know how to embed pictures and how to resize them. Bye. --

Re: Photo layout

2005-06-27 Thread Larry Bates
You can use Python Imaging Library (PIL) and ReportLab to resize and place the photos on a page quite easily. Actually ReportLab calls PIL automatically to resize the photos when you call .drawInlineImage method of the canvas object with the proper width and height arguments. To get ReportLab go

Re: Photo layout

2005-06-26 Thread Terry Hancock
On Sunday 26 June 2005 10:57 pm, Stephen Boulet wrote: > Is there a python solution that someone could recommend for the following: > > I'd like to take a directory of photos and create a pdf document with > four photos sized to fit on each (landscape) page. Probably you could do this with PIL +

Photo layout

2005-06-26 Thread Stephen Boulet
Is there a python solution that someone could recommend for the following: I'd like to take a directory of photos and create a pdf document with four photos sized to fit on each (landscape) page. Thanks. Stephen -- http://mail.python.org/mailman/listinfo/python-list