[Image-SIG] reaching memory limits with crop method]

Fredrik Lundh fredrik at pythonware.com
Thu Sep 8 16:47:23 CEST 2005


Adam J Smith wrote:

> Just following up to see if anyone out there has any thoughts on my
> original post below, as my own research into the issue has not gotten me
> very far. Any help at all will be greatly appreciated.

following up to the response you got may also be a good
idea:

----- Original Message ----- 
From: "Fredrik Lundh" <fredrik at pythonware.com>
Newsgroups: gmane.comp.python.image
Sent: Wednesday, August 31, 2005 5:47 PM
Subject: Re: reaching memory limits with crop method


> Adam J Smith wrote:
>
>> We are encountering memory errors while processing very large images (over
>> 3Gb TIFFs, 17888x45408 px). We are trying to make "tiles" of the image by
>> calling PIL's crop method and saving the resulting images.
>
> if you open such a file in PIL, what does the "tile" attribute contain?
> can you try the following on your files and post the result?
>
>    >>> im = Image.open("verylargetiff.tif")
>    >>> im.mode
>    >>> im.size
>    >>> im.tile
>
> </F>





More information about the Image-SIG mailing list