trufanov-nok / scantailor-universal

ScanTailor Universal - a fork based on Enhanced+Featured+Master versions of ST
http://scantailor.org
Other
181 stars 16 forks source link

'insert before" of multi-page tif uses wrong picture/page offsets #92

Closed jjYBdx4IL closed 3 years ago

jjYBdx4IL commented 3 years ago

The saved project's xml file starts the inserted image sequence with fileImage=0. It should start with 1 - at least in my case, not sure if that's the same for all tif files.

<image fileImage="0" fileId="777" id="778" subPages="1">
  <size width="1748" height="2480"/>
  <dpi vertical="300" horizontal="300"/>
</image>
trufanov-nok commented 3 years ago

You mean whole your project is made from a single multipage tiff and you're inserting another page to it? And this page is a standalone file?

jjYBdx4IL commented 3 years ago

no, I mean "inserting a multi-page .tif". It starts referencing the inserted images starting from 0 instead of 1.

trufanov-nok commented 3 years ago

Should be fixed now in master branch

jjYBdx4IL commented 3 years ago

cool.ty.