pull/3/head
Kai 4 years ago
parent c554644838
commit 487b74b6e6

@ -273,6 +273,6 @@ def make_page2tsv_commands(xls_file, directory, purpose):
if ma:
print('page2tsv {} {}.tsv '
'--image-url=https://content.staatsbibliothek-berlin.de/dc/'
'{}-{}/left,top,width,height/full/1200/default.jpg --scale-factor=1.0 --purpose={}'.
format(file, ma.group(1), ma.group(2), ma.group(3), purpose))
'{}-{:08d}/left,top,width,height/full/1200,/0/default.jpg --scale-factor=1.0 --purpose={}'.
format(file, ma.group(1), ma.group(2), int(ma.group(3)), purpose))

Loading…
Cancel
Save