summaryrefslogtreecommitdiff
path: root/pdf-over-signator/src/main
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-03 15:17:17 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-03 15:17:17 +0200
commit97f2f60a6a95f946776c50bed092140df1d1bc4e (patch)
treeceda1c4d3336cddc16527d5d3e673ab5894847c2 /pdf-over-signator/src/main
parent9692ed2b9625a7ad3f70a119eb0e8972b31f6c18 (diff)
downloadpdf-over-97f2f60a6a95f946776c50bed092140df1d1bc4e.tar.gz
pdf-over-97f2f60a6a95f946776c50bed092140df1d1bc4e.tar.bz2
pdf-over-97f2f60a6a95f946776c50bed092140df1d1bc4e.zip
missed a stay file extension
Diffstat (limited to 'pdf-over-signator/src/main')
-rw-r--r--pdf-over-signator/src/main/java/at/asit/pdfover/signator/Emblem.java2
1 files changed, 1 insertions, 1 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 e57e4e3e..b3b6a0da 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
@@ -138,7 +138,7 @@ public class Emblem {
BufferedImage img = Util.readImageWithEXIFRotation(imgFile);
img = reduceImageSizeIfNecessary(img, MAX_EMBLEM_WIDTH, MAX_EMBLEM_HEIGHT);
- File file = new File(CACHE_DIR, CACHE_IMG_FILENAME + "." + CACHE_IMG_FORMAT);
+ File file = new File(CACHE_DIR, CACHE_IMG_FILENAME);
ImageIO.write(img, CACHE_IMG_FORMAT, file); // ignore returned boolean
OutputStream out = new FileOutputStream(new File(CACHE_DIR, CACHE_PROPS_FILENAME));
emblemProps.store(out, null);