PIL: Can it work with large images?

Randall Hopper aa8vb at yahoo.com
Tue Jul 4 14:23:16 EDT 2000


Does PIL support cropping while loading large images?  

I'd like to pull in small portions of large GeoTIFF images for processing
GeoTIFFs can be 100MB - multi-GBs in size.  I have one here that's 340MB.

Thanks,

Randall



> tiff_info.py
filename : map.tif
info     : {'compression': 'raw'}
mode     : P
size     : (24758, 13716)           <-------------------------------------<<<
num tiles: 13716
  tile #1: ('raw', (0, 0, 24758, 1), 56757, ('L', 0, 1))
  tile #2: ('raw', (0, 1, 24758, 2), 81515, ('L', 0, 1))
  ...

-- 
Randall Hopper
aa8vb at yahoo.com




More information about the Python-list mailing list