Latest recipes tagged "meta:requires=reportlab.lib.pagesizes", "jpeg", "image", "reportlab" and "pdf"http://code.activestate.com/recipes/tags/meta:requires=reportlab.lib.pagesizes+jpeg+image+reportlab+pdf/new/2011-07-17T19:49:58-07:00ActiveState Code Recipesjpg2pdf (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>