-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TIFF support #5
Comments
prima-page-to-pdf uses itext5 but even the newer itext7 does not support > 8 bit per channel AFAICT https://github.com/itext/itext7/blob/9fadebfb114a7ee9ef9058a8b0c9deec71262210/io/src/main/java/com/itextpdf/io/image/TiffImageHelper.java#L349-L357 |
This can only be dealt with in itextpdf. Each addPage has a try/catch. I guess we could add a cmd argument to stop on exception |
I don't understand that TBH, but IMHO the program should stop with non-zero exit status by default if anything goes wrong (on any page). Perhaps some |
I have a TrueColor RGB TIFF (i.e. 3x16 bit depth), for which the latest PageToPdf.jar prebuilt release gives me:
This is true for both OpenJDK 8 and 11. Would it be possible to integrate a TIFF library with more capabilities?
And more importantly: could you please ensure the tool at least returns with a non-zero exit status, so I won't need to parse the stdout for exception texts?
The text was updated successfully, but these errors were encountered: