-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
1. Summary
If I use pdftojpeg, pdftosingletiff or pdftomultipletiff:
images doesn't display in output JPEG or TIF.
I get an error:
Cannot read JBIG2 image: jbig2-imageio is not installed
2. Data
KiraDebuggingImage.pdf— PDF page from scanned book for further processing
3. Steps to reproduce
I download and unzip the latest Sejda Console Windows binary for 14.8.2019 → I add path of Sejda bin folder to my PATH environment variable → I run sejda-console command:
sejda-console pdftojpeg -f KiraDebuggingImage.pdf -o .
4. Expected behavior
Successful convert images from PDF. For example, see KiraPopplerImage.jpg — image, that I convert from Poppler via command pdftoppm -jpeg KiraDebuggingImage.pdf KiraDebugging:
Possibly, in this issue I describe a bug. If no, it would be nice:
- Set jbig2-imageio automatically.
- Or at least add to documentation instructions, how users can do it. In my opinion, it is not obvious, — see «Not helped» section of this issue.
5. Actual behavior
D:\SashaDebugging\SejdaToTiff>sejda-console pdftojpeg -f KiraDebuggingImage.pdf -o SejdaOut
Configuring Sejda 3.2.83
Document root element "sejda", must match DOCTYPE root "null".
Document is invalid: no grammar found.
Starting execution with arguments: 'pdftojpeg -f KiraDebuggingImage.pdf -o .'
Java version: '1.8.0_221'
Validating parameters.
Starting task (org.sejda.impl.sambox.PdfToMultipleImageTask@22555ebf) execution.
Opening D:\SashaDebugging\SejdaToTiff\KiraDebuggingImage.pdf
Created output temporary buffer C:\Users\SASHAC~1\AppData\Local\Temp\sejdaTmp5291859507256300145.tmp
Cannot read JBIG2 image: jbig2-imageio is not installed
Cannot read JBIG2 image: jbig2-imageio is not installed
Task progress: 100% done
Moving C:\Users\SASHAC~1\AppData\Local\Temp\sejdaTmp5291859507256300145.tmp to D:\SashaDebugging\SejdaToTiff\SejdaOut\1_KiraDebuggingImage.jpg.
Documents converted to JPEG and saved to org.sejda.model.output.FileOrDirectoryTaskOutput@74fe5c40[D:\SashaDebugging\SejdaToTiff\SejdaOut]
Task (org.sejda.impl.sambox.PdfToMultipleImageTask@22555ebf) executed in 1 second
Completed execution6. Not helped
- I try to place
sejda-console-3.2.83-bin\sejda-console-3.2.83\libfileslevigo-jbig2-imageio-2.0-javadoc.jarandjbig2-imageio-3.0.0.jaras recommended on Stack Overflow here and here. - I rename files from section above to
jbig2-imageio.
7. Environment
- Windows 10 Enterprise LTSB 64-bit EN
- Java 1.8.0_211
- Sejda Console 3.2.83
Thanks.
Metadata
Metadata
Assignees
Labels
No labels