Number of fixes and making pipline LIVE ! (#907)
Closes #889 and #332 #710 #901 #885
This commit is contained in:
@@ -214,6 +214,7 @@ public class PdfUtils {
|
||||
throws IOException, Exception {
|
||||
try (PDDocument document = Loader.loadPDF(inputStream)) {
|
||||
PDFRenderer pdfRenderer = new PDFRenderer(document);
|
||||
pdfRenderer.setSubsamplingAllowed(true);
|
||||
int pageCount = document.getNumberOfPages();
|
||||
|
||||
// Create a ByteArrayOutputStream to save the image(s) to
|
||||
|
||||
Reference in New Issue
Block a user