summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pdf-over-commons/src/main/java/at/asit/pdfover/commons/utils/ImageUtil.java (renamed from pdf-over-commons/src/main/java/at/asit/pdfover/Util.java)4
-rw-r--r--pdf-over-signator/src/main/java/at/asit/pdfover/signator/Emblem.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/pdf-over-commons/src/main/java/at/asit/pdfover/Util.java b/pdf-over-commons/src/main/java/at/asit/pdfover/commons/utils/ImageUtil.java
index ff33fb5e..a8740317 100644
--- a/pdf-over-commons/src/main/java/at/asit/pdfover/Util.java
+++ b/pdf-over-commons/src/main/java/at/asit/pdfover/commons/utils/ImageUtil.java
@@ -1,4 +1,4 @@
-package at.asit.pdfover;
+package at.asit.pdfover.commons.utils;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
@@ -75,7 +75,7 @@ class EXIFRotation {
}
}
-public final class Util {
+public final class ImageUtil {
/**
* ImageIO.read, except it honors EXIF rotation metadata
diff --git a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/Emblem.java b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/Emblem.java
index b3b6a0da..bd0ef4d9 100644
--- a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/Emblem.java
+++ b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/Emblem.java
@@ -15,9 +15,9 @@
*/
package at.asit.pdfover.signator;
-import at.asit.pdfover.Util;
// Imports
import at.asit.pdfover.commons.Constants;
+import at.asit.pdfover.commons.utils.ImageUtil;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
@@ -135,7 +135,7 @@ public class Emblem {
emblemProps.setProperty(PROPKEY_ORIG_DIGEST, emblemHsh);
File imgFile = new File(emblemImg);
- BufferedImage img = Util.readImageWithEXIFRotation(imgFile);
+ BufferedImage img = ImageUtil.readImageWithEXIFRotation(imgFile);
img = reduceImageSizeIfNecessary(img, MAX_EMBLEM_WIDTH, MAX_EMBLEM_HEIGHT);
File file = new File(CACHE_DIR, CACHE_IMG_FILENAME);