Convert

Extract Images from a PDF

A designer friend once received a 40-page brand guidelines PDF from a client and asked me how to extract the logo from it. She tried a "PDF to JPG" tool, got 40 page screenshots, and then spent an hour trying to crop the logo cleanly out of page 12. The pixel edges were fuzzy and the background wasn't the brand color.

What she actually needed was "extract embedded images" — a different operation, and much better suited to her goal. This article explains the difference, because the two are constantly confused.

What's in this guide

  1. Two operations, easily confused
  2. How embedded images work
  3. How page rendering works
  4. Which one do you need?
  5. Limits and edge cases
  6. FAQ

Two operations, easily confused

When people say "extract images from PDF," they usually mean one of two things:

  • "I want the photos and logos that are inside this PDF, at their original quality." This is embedded image extraction.
  • "I want each page as a picture." This is page rendering, also called "PDF to JPG."

Both are legitimate. They produce very different outputs, and they're useful for different tasks.

How embedded images work

A PDF stores images as independent objects inside the file. Each image has its own stream of pixel data, an encoding (JPEG, PNG, CCITT fax, JBIG2, etc.), dimensions, and a color space. The page content stream then says "draw image #7 at position (x, y) with size w × h."

Extracting embedded images means walking the PDF's object tree, finding every image object, and saving each one as a standalone file. The output is the exact bytes that were stored in the PDF — no re-rendering, no quality loss (beyond whatever the PDF already did).

Why this is useful:

  • You get the original image at the resolution the PDF stored it at.
  • You preserve the exact color data — no screen-rendering artifacts.
  • You might extract images that aren't visible on any page (used as backgrounds, watermarks, or hidden layers).
  • You can find images reused across many pages with one copy in the file.

What you don't get: the layout. If a page has five images composed in a specific way, extracting them gives you five separate files with no indication of how they were arranged.

How page rendering works

Page rendering means: take each page, paint it to a canvas at a given resolution, and export the canvas as an image. The output is a fresh picture of the whole page, including text, vector graphics, and any images composed together.

This is what our PDF to JPG tool does. The advantages:

  • You get the exact visual appearance of the page, including text and layout.
  • You can control resolution via the DPI setting (72 for screen, 150 for reading, 300 for print).
  • Output is consistent — every page comes out the same way.

Disadvantages:

  • The output is a raster image of the whole page, not the individual pieces.
  • Text becomes pixels (no copy/paste from the image).
  • Embedded images are re-rendered at the page DPI, which may be lower than the original image resolution.

Which one do you need?

GoalUse
Get a logo out of a PDFExtract embedded images
Get product photos from a catalog PDFExtract embedded images
Send someone page 3 as a picturePage rendering
Archive each page as an imagePage rendering
Embed a page into a presentationPage rendering
Get a chart from a reportDepends — if it's an embedded image, extract; if it's drawn as vectors, you can only render

If you need the pieces (photos, logos, diagrams that exist as images), use embedded extraction. If you need the composed page, use page rendering.

Honest note: our currently published tool is PDF to JPG — which does page rendering. Embedded image extraction is on our roadmap. For now, if you need to pull a specific image out, PDF to JPG at high DPI and crop afterwards is the practical workaround.

Limits and edge cases

Vector graphics aren't images

If a logo is drawn as vector paths (curves, fills), it isn't an embedded image — it's page content. Extracting images won't find it. Rendering the page will include it, but only as pixels. There's no way to recover a vector logo from a PDF without dedicated vector extraction tools.

Images are sometimes already downsampled

When a PDF is created, some tools automatically downsample images to reduce file size. So a photo that was originally 4000×3000 might be stored in the PDF at 1200×900. Extracting it gives you the 1200×900 version, not the original. This is the single most common surprise.

Some formats are hard to extract

Most PDFs store images as JPEG, JPEG2000, PNG, or raw pixel data. All are extractable. A few use proprietary or legacy encodings (CCITT Group 4 for faxes, JBIG2 for high-contrast scans) that require special decoders. Client-side tools may skip these or convert them.

Transparency is lost in some conversions

A PNG with transparency inside a PDF has the transparency preserved in the PDF's internal representation. But when you save it back out as a JPG (because JPEG doesn't support transparency), the transparent regions become black or white. If transparency matters, look for a tool that outputs PNG.

Duplicate images inflate the count

A PDF with the same logo on every page may have that logo stored once and referenced many times, or it may have a copy per page (depends on the PDF creator). If you extract "images," you might get 1 file or 20 duplicates. Neither is wrong; it depends on how the file was built.

OCR text isn't an image

If a PDF has an invisible text layer (from OCR), extracting images won't produce text — the text isn't an image, it's a drawing instruction. And rendering pages to images won't preserve searchability. Text extraction is a separate operation entirely.

FAQ

What's the difference between extracting images and converting pages to images?

Extracting pulls out the individual image files stored inside the PDF at their embedded quality. Converting renders each whole page as a new picture. Use extraction for photos and logos; use rendering for page screenshots.

Will I get the original image quality?

You get whatever quality the PDF stored. Many PDFs downsample images during creation, so what's inside may already be reduced compared to the original file. There's no way to recover data that was never stored.

Can I extract a vector logo from a PDF?

Not with basic image extraction. Vector graphics aren't stored as images — they're drawing commands. Extracting them requires a vector editor like Inkscape or Illustrator, which can open PDFs directly.

Why did I get more images than there are in the document?

PDFs often store duplicate copies of the same image, or hold images that aren't currently visible on any page (unused resources, hidden layers). Extraction shows everything that's stored, not just what's displayed.

Are extracted images safe to reuse?

Legally, that's a separate question. Extracting an image doesn't grant you a license to use it. Respect copyright — especially for brand logos, stock photos, and illustrations that clearly belong to someone else.

Try it: PDF to JPG renders pages as images at your chosen DPI. For individual embedded images at their stored quality, embedded extraction is on our roadmap.