I use tess4j for PDF processing. I've noticed that if I provide a password-protected PDF file, that the convertPdf2Png method will just throw a NullPointerException.. This is very strange as the library should be throwing IOExceptions instead of NullPointerExceptions if it encounters any error during decoding.
I use tess4j for PDF processing. I've noticed that if I provide a password-protected PDF file, that the convertPdf2Png method will just throw a NullPointerException.. This is very strange as the library should be throwing IOExceptions instead of NullPointerExceptions if it encounters any error during decoding.