git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
navbar: vertical mode
[nikiroo-utils.git]
/
ImageUtils.java
diff --git
a/ImageUtils.java
b/ImageUtils.java
index c0e123280cd5aa846bd57e08324a81df253c9de4..2b8ff8fa9ec722056904d310343761f979285924 100644
(file)
--- a/
ImageUtils.java
+++ b/
ImageUtils.java
@@
-65,7
+65,7
@@
public abstract class ImageUtils {
int width;
int height;
if (zoom > 0) {
- width = (int) Math.round(image
Height
* zoom);
+ width = (int) Math.round(image
Width
* zoom);
height = (int) Math.round(imageHeight * zoom);
} else {
if (zoomSnapWidth) {