Skip to main content

Extract images

Save the pictures embedded in a PDF (photos, logos, scanned pages), from every page or chosen pages, as image files in a folder.

Command in the PDF toolkit · id ooa.pdf/extract_images · 11 inputs (2 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
PathFileYesPDF file.
Target folderFileYesFolder for the images.
Minimum sizeNumberNo1Skip images narrower or lower than this many pixels (e.g. 32 to skip icons).
PasswordCredentialNoPassword for protected PDFs.
PagesStringNoOnly pages listed here, e.g. 1,3,5-7; every page when empty.
FormatStringNopngImage file format.
File prefixStringNoStart of each image's file name, followed by _page1_img1 and so on; the PDF's name when empty.
ColorStringNocolorColour depth: color keeps the colours (24-bit); gray saves 8-bit greyscale copies; black_white saves 1-bit images.
Resolution (DPI)NumberNo0Resize each image to this many dots per inch at the size it is shown on the page (e.g. a picture shown 2 inches wide becomes 300 pixels wide at 150 dpi); 0 keeps the pixels stored in the PDF. An image the page does not draw keeps its stored size.
Jpeg qualityNumberNo90JPEG quality from 1 (smallest file) to 100 (best picture); also used for TIFF with jpeg compression.
Tiff compressionStringNolzwTIFF compression: lzw and deflate are lossless; ccitt_g4 gives the smallest black-and-white files (images are made black and white); jpeg suits photos.

Outputs​

OutputTypeWhat it is
filesListCreated image files.
countNumberNumber of images saved.