Re: PIL Consuming All System Resources

"Yury V. Zaytsev" <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <1275226609.7617.8.camel@mypride>
Hi!

On Sun, 2010-05-30 at 14:59 +0200, Fredrik Lundh wrote:
> The file has mode=RGB size=20400x28079, so you'd need about 2291246400
> bytes to load it all into memory at once, and twice that to do e.g.
> color conversion (which creates a second image memory), so it's a bit
> on the big side, at least for a 32-bit environment.

I was just about to complain how suboptimal PIL is at loading images,
but first tried to load this in eog (which actually did render the image
after consuming an insane amount of 1.8 Gb memory) and then in Gimp that
was no better :-)

I am wondering whether there's a way of performing image
transformations without temporarily decoding the whole image in
memory...
 
-- 
Sincerely yours,
Yury V. Zaytsev

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.