As an emergency solution I think VIPS has support for large images. It
has python bindings, but they are not so nice and well documented as
PIL.

On Mon, Jun 22, 2009 at 6:52 PM, B. Bogart<b...@ekran.org> wrote:
> Hello all,
>
> I want to create a very large RGBA image (96000x72000 pixels).
>
> I have 4GB of RAM.
>
> Is there an easy way of getting around this error by having PIL only
> allocate one section of the image at a time?
>
> If PIL does not have any internal trick to work with large images then
> I'll have to make 4+ smaller images one at a time, but then I'm not sure
> how I could combine them without needing to allocate a memory chunk for
> the whole image.
>
> Otherwise I suppose I'll have to try with some other language, perhaps
> C/SDL, though a quick calculation seems to show that such a large RGBA
> image is just unworkable. Is there some way of using disk space rather
> than memory? Does not matter if it is slow, just that it is possible!
>
> Any advice?
>
> Thanks,
> B.
> _______________________________________________
> Image-SIG maillist  -  image-...@python.org
> http://mail.python.org/mailman/listinfo/image-sig
>



--
Phatch Photo Batch Processor - http://photobatch.stani.be
SPE Python IDE - http://pythonide.stani.be
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to