Elderl23 / pyfpdf

Automatically exported from code.google.com/p/pyfpdf
GNU Lesser General Public License v3.0
0 stars 0 forks source link

It's unclear how auto-calculation for images will fit the page. #28

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If I take an image that is in portrait mode it gets cropped rather than being 
fit to the page, how come?

Example:

pdf = FPDF()
pdf.add_page()
pdf.image('https://mediapop-dev.s3.amazonaws.com/clients/canon/origame/24.png', 
0,0, type="PNG")
pdf.output('test.pdf', 'F')

Original issue reported on code.google.com by kitsu...@gmail.com on 13 Sep 2012 at 9:18