Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. PDF Tools
  3. PDF Image Extractor
Add to favorites

PDF Image Extractor

Pull out a PDF's pictures as the files it holds

PDFs never leave your deviceMore pdf toolsJump to full guide

Initializing in your browser…

You might also like

PDF Text Extractor

Read a PDF's text in the order a person reads it

Images to PDF

Turn pictures into a PDF at the size on paper you choose. Set the resolution a pixel count prints at, pick the paper, and see every page size and the resolution it prints at before anything is written.

Image Resizer

Resize with the filter named (Lanczos, Mitchell, Catmull-Rom, bilinear, box or nearest) and the option to average LIGHT rather than stored bytes, which is worth 1.24 stops on a detailed picture.

PDF Image Extractor: a worked example

A report has three photographs in it and you need the originals, not screenshots.

Input

report.pdf · 3 embedded JPEGs · 16 pixel floor
What PDF Image Extractor produces

Output

Three .jpg files of 434,800, 434,859 and 434,769 bytes: the same sha256 as the JPEGs the document holds

A /DCTDecode stream in a PDF IS a JPEG file, so extraction is a copy rather than a decode and a re-encode, and the output is bit for bit what the document contains. The previous version rendered every picture through a canvas as PNG and turned 1.30 MB of JPEG into 6.78 MB. Each picture also reports the resolution it is DRAWN at, read from the page's placement matrix, which is 216 dpi for a 1200 pixel picture across 400 points and is what decides whether it can be reused.

About the PDF Image Extractor

Pull the pictures out of a PDF as the files the document actually holds. A JPEG stored in a PDF is a JPEG, so it is copied out untouched rather than decoded and re-encoded, and what you download is bit for bit what the file contains. Each picture says which page it is on, its pixel size, the resolution it is drawn at, and whether it is the document's own bytes or one this tool had to re-encode. A size floor keeps the photographs and drops the rules and bullets. Download one picture as a file or a selection as a ZIP. Everything happens in your browser and nothing is uploaded.

Working with your PDF

  1. 1Upload the PDF.
  2. 2Optionally name the pages to look at, and set the size floor: anything smaller than that on either side is skipped as a decoration.
  3. 3Press Find the pictures.
  4. 4Look at what came out: each one says its page, its pixel size, the resolution it is drawn at, and whether it is stored or re-encoded.
  5. 5Deselect anything you do not want, then download. One picture comes down as a file, several as a ZIP.

Key features

  • JPEGs copied out byte for byte, so the file you get is the file the PDF holds
  • Each picture labelled as the document's own bytes or as one that had to be re-encoded, rather than blurring the two
  • The resolution each picture is DRAWN at, read from the page's placement matrix, agreeing with poppler to the pixel per inch
  • The page each picture appears on, and its pixel size
  • A size floor that keeps photographs and drops rules and bullets, naming what it skipped and why
  • A page range, so a long document is not read in full to find one picture
  • Correct file extensions: a JPEG is downloaded as .jpg
  • Unique names in the ZIP, because two members with one name means one is lost
  • Everything in your browser: the document is never uploaded

Common scenarios

  • Recovering photographs from a report

    Get the original photographs out of a PDF at their full stored quality, rather than a re-encoded copy several times the size.

  • Checking whether a picture is good enough

    The dpi figure says what resolution each picture is used at, which is what decides whether it can be reused larger or printed.

  • Pulling a logo out of a brand document

    Raise the size floor to skip the rules and bullets and leave the pictures that are actually artwork.

  • Auditing what a document contains

    See every embedded picture with its page, size and resolution, including the ones that never appear at full size.

Tips & best practices

  • The line under each picture says whether it is the document's own bytes or a re-encode. If it says the document's own bytes, the file you download is bit for bit what the PDF contains.
  • The dpi figure is the resolution the picture is DRAWN at, not a property of the image. It is the number that tells you whether a picture is good enough to reuse at the size it appears.
  • Raise the size floor if the results are full of rules and bullets. Lower it to one if you want literally everything, including the decorations.
  • If a chart or a logo does not appear, it was drawn with vector operators rather than embedded as a picture. There is nothing to extract; render the page with the PDF to Images tool instead.
  • Use the page range on a long document. It reads only the pages named rather than the whole file.
  • Stencil masks are off by default. They are the shapes used to knock holes in other pictures, and they are almost never what you want on their own.

Examples

  • Three photographs out of a report

    Three 1200 by 900 JPEGs come out as three JPEGs of 434,800, 434,859 and 434,769 bytes, the same sha256 as the ones the document holds and as poppler returns for the same file.

  • A photograph, an icon and a rule

    A page with a 1200x900 photo at 216 dpi, a 24x24 icon at 96 dpi and a 400x6 rule at 62 dpi. A 100 pixel floor keeps the photograph and names the other two with the size that dropped them.

  • A document with nothing embedded

    A text document reports no pictures and explains that a page drawn with vector operators has none, rather than leaving you wondering whether the tool failed.

How it works

A PDF stores an image as a stream with a filter that says how it is encoded, and for the two commonest photographic cases that stream IS a file. A /DCTDecode stream is a JPEG: the bytes between `stream` and `endstream` can be written to disk and opened. A /JPXDecode stream is a JPEG 2000. So for those, extraction is a copy, and what comes out is bit for bit what the document holds.

That is what this tool does, and it is measurable. On a document carrying three 1200 by 900 JPEGs, the files it produces have the same sha256 as the JPEGs that were embedded, and the same as the ones poppler's own `pdfimages -all` returns. The previous version asked pdfjs for the DECODED pixels and re-encoded every picture through a canvas as PNG: 434,800 bytes of JPEG became 2,260,945 bytes of PNG, the three together went from 1.30 MB to 6.78 MB, and not one of them was the file the document contains. The pixels were right; the files were not the files.

A picture stored in a form that is not a whole file (raw samples under /FlateDecode, an indexed palette, a one bit scan) has no bytes to hand back, so it is decoded and written as PNG. Each picture says which of the two happened to it, because "extracted" and "re-encoded" are different things and a tool should not blur them.

Every picture also carries the thing that decides whether it is worth anything: the resolution it is DRAWN at. That is not a property of the image, it is the pixel count over the space the page gives it, and it comes from reading the placement matrix in the page's content stream. A 1200 pixel picture across 400 points is 216 dpi and will print; the same picture across a whole Letter page is 141 dpi and will not. The readings agree with poppler's to the pixel per inch.

The size floor is what separates a photograph from a decoration. A document is full of rules, bullets and logos, and an extractor that hands back all of them is a list to wade through rather than an answer. Anything under the floor on either side is skipped and named, with the size that put it there.

Frequently asked questions

Are the pictures re-encoded or the originals?

The originals, wherever the PDF stores them as a whole file. A /DCTDecode stream is a JPEG and is copied out untouched, so what you download has the same bytes as what the document holds. Each picture tells you which it is: the document's own bytes, or one that had to be decoded and written as PNG because it is not stored as a file.

A picture on the page did not come out. Why?

It is probably not an embedded picture. Charts, logos and diagrams are often drawn with vector operators, which look like a picture and are not one, and there is nothing to extract from them. Render the page with the PDF to Images tool instead. The other possibility is that it fell under the size floor, in which case it is listed as skipped with its size.

What does the dpi number mean?

How many pixels the picture has for each inch of the page it occupies, which is its pixel count divided by the space the page gives it. It is a property of the placement rather than of the image: the same picture is 216 dpi in one document and 72 in another. It is the number that says whether a picture can be reused at that size.

What is the size floor for?

Skipping decorations. A document is full of rules, bullets and tiny logos, and getting all of them back makes the result a list to wade through. Anything under the floor on either side is skipped and named. Set it to one to get everything.

Can I get a whole page as an image?

Not with this tool: it extracts the pictures a document embeds, not renders of its pages. The PDF to Images tool renders pages at a resolution you choose.

Is my document uploaded?

No. It is read in your browser and never leaves it.

Related tools and how they differ

  • PDF to Images: Renders each PAGE as a picture. Use it when the thing you want was drawn rather than embedded, or when you want the page as it looks.
  • PDF Text Extractor: Takes the words out of a PDF rather than the pictures.

Private by design

PDF parsing and editing happen in your browser. Documents, and everything inside them, are never uploaded or stored remotely.