alfresco-simple-ocr
alfresco-simple-ocr copied to clipboard
Unable to convert .tif (multipages .tif file) to pdf using pdfsandwich on Ubuntu
Hi,
I have tried with OCR Action as well as the same command I tried on the Ubuntu terminal but with no luck.
I'm getting below error when I use OCR Action & when I execute below command directly from Terminal on Ubuntu for .tif (Multipages tif file) to .pdf file.
Can you please help on this?
$ /usr/bin/pdfsandwich -verbose -lang spa+eng+fra Sample_3_Multi_page.tif -o Sample_3_Multi_page.pdf pdfsandwich version 0.1.4 Checking for convert: convert -version Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-07-10 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
Checking for unpaper: unpaper -version 6.1 Checking for tesseract: tesseract -v tesseract 3.04.01 leptonica-1.73 libgif 5.1.2 : libjpeg 8d (libjpeg-turbo 1.4.2) : libpng 1.2.54 : libtiff 4.0.6 : zlib 1.2.8 : libwebp 0.4.4 : libopenjp2 2.1.0
Checking for gs: gs -v GPL Ghostscript 9.18 (2015-10-05) Copyright (C) 2015 Artifex Software, Inc. All rights reserved. Input file: "Sample_3_Multi_page.tif" Output file: "Sample_3_Multi_page.pdf" Fatal error: exception Failure("Error: Could not determine number of pages of file Sample_3_Multi_page.tif")
Thanks.