We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
we can extract images in a pdf file by using the script below java -jar pdfbox-app-2.0.0.jar ExtractImages pdfWithImages.pdf
I tried let image = page.getImageSync(); it converted the entire pdf to image but not extract images inside. How to do ExtractImages?
thanks! KC
The text was updated successfully, but these errors were encountered:
let document = Document.loadSync(`PDF_PATH`); let numberOfPages = document.pagesCountSync(); for (let pageNumber = 0; pageNumber < numberOfPages; pageNumber++) { var page = document.getPageSync(pageNumber); let image = page.getImageSync(scale); image.saveSync(`DESTINATION_PATH`, 'jpg'); }
Sorry, something went wrong.
No branches or pull requests
we can extract images in a pdf file by using the script below
java -jar pdfbox-app-2.0.0.jar ExtractImages pdfWithImages.pdf
I tried let image = page.getImageSync(); it converted the entire pdf to image but not extract images inside. How to do ExtractImages?
thanks!
KC
The text was updated successfully, but these errors were encountered: