Convert binary image to JPEG with 72 dpi

Nico Grubert nicogrubert at googlemail.com
Fri Oct 20 03:49:16 EDT 2006


Dear list members,

I have the binary content of an image file and it's filename.
I neither know the resolution nor the dpi of the image.

No I need to convert this binary content into a 72 dpi jpeg image.
Furthermore I have to resize the image so neither the width nor the height
is bigger than 250 pixels.

I'd like to use PIL for this job. Any tips how to do it?

Regards,
    Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20061020/9447aad2/attachment.html>


More information about the Python-list mailing list