From e441e479fddd49a6e382e56b61a2802880531688 Mon Sep 17 00:00:00 2001 From: kahlep Date: Fri, 12 Apr 2019 14:05:14 +0200 Subject: [PATCH] Add comment on #33 2. --- src/main/java/eu/transkribus/core/io/DocExporter.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/eu/transkribus/core/io/DocExporter.java b/src/main/java/eu/transkribus/core/io/DocExporter.java index 4022bb4d..3705e6f8 100644 --- a/src/main/java/eu/transkribus/core/io/DocExporter.java +++ b/src/main/java/eu/transkribus/core/io/DocExporter.java @@ -506,6 +506,11 @@ public TrpPage exportPage(TrpPage page) throws IOException { imgFile = getter.saveImg(page.getKey(), pars.getRemoteImgQuality(), outputDir.getImgOutputDir().getAbsolutePath(), baseFileName + imgExt); page.setUrl(imgFile.toURI().toURL()); + + /** + * FIXME test if the ImgFileName can be set here. If a filename pattern is set (e.g. in HTR) the value contained is wrong. + */ +// page.setImgFileName(imgFile.getName()); page.setKey(null); } if(pars.isDoExportPageXml()) {