commit 2c601fa54d6fb18ca42c105990f8706b85cbf138 parent f47db6205853f86a552bc9d5f800f3ebf62da16c Author: Antoine Amarilli <a3nm@a3nm.net> Date: Thu, 5 Sep 2019 23:45:57 +0200 official master script Diffstat:
master.sh | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/master.sh b/master.sh @@ -12,10 +12,10 @@ FIXCMD="${7-echo 'not fixing anything'}" mkdir -p tmp pages lines chunks outpages -#TMPDIR=./tmp convert -background white -alpha remove -alpha off \ -quality 100 -density "$DENSITY" "$FILE" pages/page_%04d.png +TMPDIR=./tmp convert -background white -alpha remove -alpha off \ -quality 100 -density "$DENSITY" "$FILE" pages/page_%04d.png -# ls pages/* | parallel ./splith.py --maxheight=$(($HEIGHT-2*$MARGIN)) '{}' ./lines/ -# ls lines/* | parallel ./splitw.py '{}' ./chunks/ $(($WIDTH-2*$MARGIN)) +ls pages/* | parallel ./splith.py --maxheight=$(($HEIGHT-2*$MARGIN)) '{}' ./lines/ +ls lines/* | parallel ./splitw.py '{}' ./chunks/ $(($WIDTH-2*$MARGIN)) $FIXCMD "$(($WIDTH-2*$MARGIN))"