fix x/y flipping of out dimension of scaled images for orientations other than 6

This commit is contained in:
Knut Forkalsrud 2009-08-15 15:55:45 -07:00
parent d3937058f9
commit c826a87af2

View file

@ -41,7 +41,7 @@ public class Thumbnail {
* @return Returns the size. * @return Returns the size.
*/ */
public Dimension getSize() { public Dimension getSize() {
return getOrientation() == 6 ? size.flip() : size; return getOrientation() >= 5 ? size.flip() : size;
} }