[Image-SIG] reading part of an image

Xiao xiao at blueforge.net
Fri Dec 14 02:47:38 CET 2007

Hi, is it possible to read only a part of an image (png or gif) by PIL?

For example, an image is 20000x20000 in pixels. Is it possible for python to
read only 100x100 of the picture (not loading the whole picture) and save
the small part to a new png file?

Any ideas would be appreciated. Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/image-sig/attachments/20071214/c0c68b7b/attachment.htm 

More information about the Image-SIG mailing list