openmicroscopy/bioformats — pull request #1121 by sbesson (2014-05-21 14:39:22+00:00)
Title: Fix bfGetPlane tile input check (rebased onto develop)

This is the same as gh-1115 but rebased onto develop.

----

See https://www.openmicroscopy.org/community/viewtopic.php?f=13&p=13976

`bfGetPlane` could be failing when loading tiles from image with asymmetric XY dimensions due to an improper imput check. This PR should:
- fix `bfGetPlane` to allow `bfGetPlane(r, 1, x, sizeX+1, 1, 1)` to return a value for an image where `sizeY > sizeX`
- add unit tests to cover this test case in the future