diff options
Diffstat (limited to 'pdf-over-signator/src')
-rw-r--r-- | pdf-over-signator/src/main/java/at/asit/pdfover/signator/Emblem.java | 4 |
1 files changed, 2 insertions, 2 deletions
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); |