diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-04 11:17:37 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-04 11:23:35 +0200 |
commit | 3addc990ae79aaf17d9eda9b5967d9cb94fa79e1 (patch) | |
tree | e8930d1ba1eee39d9389404208dbbf3ef4cb958c /pdf-over-signator/src | |
parent | 97f2f60a6a95f946776c50bed092140df1d1bc4e (diff) | |
download | pdf-over-3addc990ae79aaf17d9eda9b5967d9cb94fa79e1.tar.gz pdf-over-3addc990ae79aaf17d9eda9b5967d9cb94fa79e1.tar.bz2 pdf-over-3addc990ae79aaf17d9eda9b5967d9cb94fa79e1.zip |
move image util methods to a more suitable place
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); |