summaryrefslogtreecommitdiff
path: root/pdf-over-signer
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-04 16:27:31 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-04 16:27:31 +0200
commit8e6acd9237c2458c66f8c747a64a1feb68172b35 (patch)
tree00ba6a0a4df079836520e5a942c5f55ac75c27ee /pdf-over-signer
parent256a1b2cfbc72c33eb08d361591bdb3f52a34b64 (diff)
downloadpdf-over-8e6acd9237c2458c66f8c747a64a1feb68172b35.tar.gz
pdf-over-8e6acd9237c2458c66f8c747a64a1feb68172b35.tar.bz2
pdf-over-8e6acd9237c2458c66f8c747a64a1feb68172b35.zip
emblem image parsing for width/height cf. #113
Diffstat (limited to 'pdf-over-signer')
-rw-r--r--pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java2
-rw-r--r--pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java
index cea41bdd..c52625dd 100644
--- a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java
+++ b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java
@@ -85,7 +85,7 @@ public class PdfAs4SignatureParameter {
public Image getPlaceholder() {
String sigProfile = getPdfAsSignatureProfileId();
- String sigEmblem = (this.emblem == null ? null : this.emblem.getFileName());
+ String sigEmblem = (this.emblem == null ? null : this.emblem.getCachedFileName());
String sigNote = getProperty("SIG_NOTE");
try {
diff --git a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java
index 952f1971..7a67a35a 100644
--- a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java
+++ b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java
@@ -46,7 +46,7 @@ public class PdfAs4Signer {
}
String sigProfile = parameter.getPdfAsSignatureProfileId();
- String sigEmblem = (parameter.emblem == null ? null : parameter.emblem.getFileName());
+ String sigEmblem = (parameter.emblem == null ? null : parameter.emblem.getCachedFileName());
String sigNote = parameter.getProperty("SIG_NOTE");
String sigPos = null;
if (parameter.signaturePosition != null) {