title: Resize huge images in Python (bigger than available RAM)
body: <p>I would like to resize and split huge (1 TB) images to 256x256 pixel tiles (Zoomify / OSM / Google Maps / XYZ schema). Images would be in BigTIFF or PSB (Large Document Format or Photoshop Big) format.</p>
  
  <p>What are the available libraries which can do this? I was having a look at GDAL but it was producing quite blurry output and I couldn't set it to interpolate better. Ideally I'd be looking at a Lanczos interpolator for such task.</p>
  
  <p>Are there any native Python libraries, or wrappers for C based libraries which can do this? Can the Python wrapper for imagemagick do such thing?</p>
  
  <p>If no Python library is available, I'm also open for command line based tools, which I can automate using Python.</p>