Hi all,

I need create a big bmp image (b/n) with width 64000 pixels and height:48000
pixels, but when i try it, PIL return a memory error.
This image should have around 350MB so i dont understand the memory error.

Someone can help me? Maybe is Windows?

Code:

import Image
white_img = Image.new ('1', (64000,48000),(1))
white_img.save('white.bmp')

Error:

File "C:\Python25\Lib\site-packages\PIL\Image.py, line 1710, in new
return Image()._new(core.fill(mode,size,color))
MemoryError

PC:

2GB RAM
200GB HD
Pentium 4 3.0 Ghz
SO: Windows XP

greeting and thanks
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to