according to http://www.pythonware.com/library/pil/handbook/introduction.htm:
"Copying a subrectangle from an image box = (100, 100, 400, 400) region = im.crop(box) The region is defined by a 4-tuple, where coordinates are (left, upper, right, lower). The Python Imaging Library uses a coordinate system with (0, 0) in the upper left corner. Also note that ****coordinates refer to positions between the pixels****, so the region in the above example is exactly 300x300 pixels." This says to me that coordinates are *exclusive*, so I believe PIL is behaving correctly in accordance with its docs. What documentation were you looking at, exactly? It might be helpful to copy in there explanation that "coordinates refer to positions between the pixels" -- Image.crop(.) does not work as documented https://bugs.launchpad.net/bugs/591730 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs