from reportlab.lib.pagesizes import letter
from glob import glob
doc = SimpleDocTemplate('image-collection.pdf', pagesize=letter)
Is there a programmatic way to transform a sequence of image files into a PDF?