Dear all,

Python's Imaging Library PIL seems to ignore
image resolution settings, when saving as PDF.

Sample code:

 #!/usr/bin/python2.6
 # -*- coding: iso-8859-15 -*-
 from PIL import Image
 im = Image.open('demo.png')
 im.info['dpi'] = (300,300)
 im.save( 'demo.pdf', **im.info )

The (300,300) statement I added to set the resolution
to 300 dpi, but nevertheless the output PDF only has 72 dpi.

Can anybody help me out here ?

Best, Matthias

_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to