New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImageConverter: fix dimensions of the last tile #711
ImageConverter: fix dimensions of the last tile #711
Conversation
Suggested by Kristian Kjaergaard on the ome-users mailing list: http://lists.openmicroscopy.org.uk/pipermail/ome-users/2013-September/003940.html If the width (or height) of the image is evenly divisible by the tile width (or height), the previous behavior was to set the width (or height) of the last tile to be converted to 0.
@melissalinkert : is this something a unit test could be added for? |
Definitely worth adding a unit test during the course of http://trac.openmicroscopy.org.uk/ome/ticket/10517 |
Comment added to 10517 |
Still not tested, I am still getting this error: [andrew@voile tools ((f93cb07...))]$ ./bfconvert ~/Desktop/4097.psd ~/Desktop/4097.ome.tiff |
OK, I am stupid! When I downloaded the new jar I saved it in the same folder as an old one, and the new one was auto-renamed. I then was testing with the old one again. It works with the right new jar. |
Merging Wednesday unless any further objections then. It would be best to have this in 4.4.9, especially since it was mentioned on the mailing list: http://lists.openmicroscopy.org.uk/pipermail/ome-users/2013-September/003954.html |
ImageConverter: fix dimensions of the last tile
--rebased-to #722 |
Suggested by Kristian Kjaergaard on the ome-users mailing list:
http://lists.openmicroscopy.org.uk/pipermail/ome-users/2013-September/003940.html
If the width (or height) of the image is evenly divisible by the tile width (or height), the previous behavior was to set the width (or height) of the last tile to be converted to 0.