title: Creating very large images using Python Image Library
body: <p>I'm trying to create a very large image (25000x25000) by pasting together many smaller images. Upon calling Image.new() with such large dimensions, python runs out of memory and I get a MemoryError.</p>
  
  <p>Is there a way to write out an image like this incrementally, without having the whole thing resident in  RAM?</p>
  
  <p>EDIT:
  Using ImageMagick's <code>montage</code> command, it seems possible to create arbitrarily sized images. It looks like it's not trying loading the final image into RAM (it uses very little memory during the process) but rather streaming it out to disk, which is ideal.</p>