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()) {