Re: PIL: retreive image resolution (dpi)

2005-08-22 Thread Do Re Mi chel La Si Do
Hi ! The size of a image is an element ; but resolution is another. It is the link, between the image and the reality. Size AND resolution can to give the scale. Exemple : when you scan a document, the size (in pixels) is not sufficient, for to reproduce the document. Size + resolution, yes.

Re: PIL: retreive image resolution (dpi)

2005-08-22 Thread Terry Reedy
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [EMAIL PROTECTED] wrote: > >> I looked at the PIL Image class but cannot see a posibility to retreive >> the image resolution dots per inch (or pixels per inch) > > Not all formats provide a DPI value; since PIL doesn't do anything wit

Re: PIL: retreive image resolution (dpi)

2005-08-22 Thread and-google
[EMAIL PROTECTED] wrote: > I looked at the PIL Image class but cannot see a posibility to retreive > the image resolution dots per inch (or pixels per inch) Not all formats provide a DPI value; since PIL doesn't do anything with DPI it's not part of the main interface. For PNG and JPEG at least

PIL: retreive image resolution (dpi)

2005-08-22 Thread AlexGreif . 2609394
Hi, I looked at the PIL Image class but cannot see a posibility to retreive the image resolution dots per inch (or pixels per inch) Could somebody please tell me how to get these metadata infos in PIL? thanks, Alex. -- http://mail.python.org/mailman/listinfo/python-list