ADDING PDF SUPPORT TO JAVA
JPedal is written in 100% Java and does not need additional platform-specific native libraries to be installed. If it runs Java 8 or above, it runs JPedal.
Convert PDF to JPEG in Java using JPedal. JPedal supports all JPEG colourspaces (not just sRGB) and allows users control on the level of lossy compression used. Writing JPEGs with JPedal is as fast as or faster than ImageIO.
Example PDF to JPEG conversion
Javadoc and Code Examples
The ConvertPagesToImages class can be used for fully automated PDF to Image Conversion.
The ConvertPagesToHiResImages class includes additional options to obtain the best possible quality. For example you can scale up the PDF page rather than scaling down the raw images.