[Image-SIG] problems setting DPI in TIFF files
Fredrik Lundh
fredrik at pythonware.com
Tue Oct 10 14:24:11 CEST 2006
Thomi Richards wrote:
> I'm generating some TIFF files using the PIL. These files then get sent to
> another applicaion which prints them. I have been told that there is a field
> in TIFF files which sets the image resolution. The documentation for
> 1.1.5 states that:
>
> The *open* method sets the following *info* properties:
info-properties are stored in the info dictionary, not as plain attributes on
the image object. this should work better:
>>> im = Image.open(...)
>>> im.info["dpi"]
</F>
More information about the Image-SIG
mailing list