summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-26 08:54:42 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-08-26 08:54:42 +0200
commitd621c888287cff34cc7e9c508b3d555fe4a4c8c2 (patch)
treed589f84e2dd7707d1a41ecc8d68597a8ab47ebcb
parent1f97e6da3445d28b5292198fd12f3b5b5e94791a (diff)
downloadbin-d621c888287cff34cc7e9c508b3d555fe4a4c8c2.zip
bin-d621c888287cff34cc7e9c508b3d555fe4a4c8c2.tar.gz
pdf2txt: add commented line using convert
-rwxr-xr-xpdf2txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf2txt b/pdf2txt
index e8632be..65590fc 100755
--- a/pdf2txt
+++ b/pdf2txt
@@ -10,6 +10,7 @@ OUTF=$(basename $1 .pdf)
FMT=${TIFF_FMT:-"tiffgray"} #tiff24nc
gs -r300x300 -sDEVICE=${FMT} -sOutputFile=$TIFF -dBATCH -dNOPAUSE $1
+#convert -monochrome -density 200 $1 $TIFF
tesseract $TIFF $OUTF
rm $TIFF
echo "output : ${OUTF}"