I m trying to extract images from a pdf using pdfbox. The example pdf here
But i m getting blank images only.
The code i m trying:-
public st
You can use PDPage.convertToImage()
function which can convert the PDF page into a BufferedImage. Next you can use the BufferedImage to create an Image.
Use the following reference for further detail:
And do not forget to look for PDPage.convertToImage()
function in PDPage class.