Top-rated recipes tagged "meta:requires=reportlab.lib.pagesizes"http://code.activestate.com/recipes/tags/meta:requires=reportlab.lib.pagesizes/top/2011-07-17T19:49:58-07:00ActiveState Code RecipesPDF a Directory of Images using Reportlab (Python)
2009-04-12T08:35:10-07:00andrew.canithttp://code.activestate.com/recipes/users/4169843/http://code.activestate.com/recipes/576717-pdf-a-directory-of-images-using-reportlab/
<p style="color: grey">
Python
recipe 576717
by <a href="/recipes/users/4169843/">andrew.canit</a>
(<a href="/recipes/tags/directory/">directory</a>, <a href="/recipes/tags/images/">images</a>, <a href="/recipes/tags/pdf/">pdf</a>).
</p>
<p>Walk through a directory PDFing Images</p>
Generate a PDF Greeting Card (Python)
2007-12-06T04:06:04-08:00greg phttp://code.activestate.com/recipes/users/4047849/http://code.activestate.com/recipes/535155-generate-a-pdf-greeting-card/
<p style="color: grey">
Python
recipe 535155
by <a href="/recipes/users/4047849/">greg p</a>
(<a href="/recipes/tags/programs/">programs</a>).
Revision 2.
</p>
<p>Code to generate a PDF greeting card using a user specified image, and text.</p>
<p>You can try it out online here: <a href="http://utilitymill.com/utility/Greeting_Card_Generator" rel="nofollow">http://utilitymill.com/utility/Greeting_Card_Generator</a></p>
jpg2pdf (Python)
2011-07-17T19:49:58-07:00Sundar Srinivasanhttp://code.activestate.com/recipes/users/4177884/http://code.activestate.com/recipes/577798-jpg2pdf/
<p style="color: grey">
Python
recipe 577798
by <a href="/recipes/users/4177884/">Sundar Srinivasan</a>
(<a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/jpeg/">jpeg</a>, <a href="/recipes/tags/pdf/">pdf</a>, <a href="/recipes/tags/reportlab/">reportlab</a>).
</p>
<p>Program to convert JPEG to PDF. Technically it just embeds the JPEG in a landscape US letter size PDF page.
When you might need it?: When you have to scan a document and do not have scanner handy, you can take a photograph of the document with webcam, and embed the JPEG into PDF - effectively works as a scanner.</p>