JPedal can extract images from PDF files with Java. The links below provide links to Javadoc which include sample code to add functionality into your Java code. So you can run directly from the jar or reuse the code in your own programs and tailor it to your exact requirements. You can also download the full example code.
- PDF Image Extraction – (view Javadoc) API to extract and save images from a PDF file. Extracts the PDF images as displayed or the raw image contained in the PDF (which is sometimes of a higher quality). Clipping is not applied.
- Clipped PDF Image extraction – (view Javadoc) API for fully automated extraction of PDF page images as tif, png or jpeg with ability to define output dimensions and image quality. Applies clip and includes image sizing options. Created to help a large catalogue company put images online.