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. All processing happens entirely in your browser - your files never leave your device. No uploads, no accounts, complete privacy.

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

Extract embedded images (photos, logos) from PDF

Pull every embedded image out of a PDF and save them as individual files. The extractor walks each page's content, finds the embedded image objects (photos, diagrams, logos), renders each one to a canvas at its stored resolution, and exports it as a PNG file. Images are kept at their original pixel dimensions but are re-encoded to PNG on the way out rather than handed back in whatever format they were stored in. You can preview the results, select which ones you want, and download a single image or a ZIP of several.

PDFs never leave your deviceMore pdf toolsJump to full guide

Initializing in your browser…

You might also like

PDF Text Extractor

Extract all text content from a PDF document

Images to PDF

Convert multiple images into a single PDF document. Drag and drop to reorder pages, customize page size, orientation, and margins.

Image Resizer

Resize and scale images with smart aspect ratio control. Supports custom dimensions, percentage scaling, social media presets, and batch resizing while maintaining image quality.

PDF Image Extractor: a worked example

You need the original embedded photos out of a PDF brochure at full quality.

Input

brochure.pdf · extract embedded images
PDF Image Extractor produces

Output

A ZIP of the raw embedded images at their stored resolution

It pulls the image XObjects as stored in the file rather than screenshotting pages, so you get the real, full-resolution assets. This is the difference between a usable source image and a blurry capture.

About the PDF Image Extractor

Pull every embedded image out of a PDF and save them as individual files. The extractor walks each page's content, finds the embedded image objects (photos, diagrams, logos), renders each one to a canvas at its stored resolution, and exports it as a PNG file. Images are kept at their original pixel dimensions but are re-encoded to PNG on the way out rather than handed back in whatever format they were stored in. You can preview the results, select which ones you want, and download a single image or a ZIP of several.

Working with your PDF

  1. 1Upload the PDF containing images.
  2. 2Wait for the tool to scan and list all embedded images.
  3. 3Select the images you want or download all of them at once.

Key features

  • Detects embedded raster images across the document
  • Keeps each image at its original pixel resolution
  • Exports images as PNG files
  • Batch download as a ZIP file
  • Preview and select images before downloading
  • Works with multi-page documents

Common scenarios

  • Recovering photos from documents

    Extract high-resolution photos embedded in brochures or presentations that were saved as PDF.

  • Design asset collection

    Pull logos and illustrations from PDF brand guidelines for use in other projects.

  • Research

    Extract charts and figures from academic papers for citation or analysis.

How it works

The extraction is driven by PDF.js. For each page the tool requests the operator list and walks it looking specifically for OPS.paintImageXObject operations, which are the instructions that paint an embedded image onto the page. Each such operation references an image by name, so the tool resolves that name through page.objs to pull the decoded image data. Because it keys on the XObject name, an image that PDF.js exposes under the same name twice on a single page is fetched only once per page; the dedup set is reset for every page, so a logo repeated across the document is captured once per page rather than collapsed into a single copy.

Once an image object is resolved, it is drawn onto a 2D canvas at its stored width and height. PDF.js sometimes hands back a ready-to-draw bitmap (an ImageBitmap or VideoFrame), which is drawn directly with ctx.drawImage; otherwise the tool reconstructs the pixels from raw channel data. Grayscale images (kind 1) are expanded one source byte into R, G and B with alpha forced to 255, while RGB/RGBA images are copied by computing bytes-per-pixel from data length over pixel count, carrying the fourth channel as alpha only when four bytes per pixel are present. Anything the tool cannot draw as either a bitmap or a recognizable pixel buffer is silently skipped, which is why some inline images or unusual color spaces may not appear in the results.

Every successfully drawn image is exported with canvas.toBlob using the image/png MIME type, so output is always PNG regardless of how the picture was stored inside the PDF. Pixel resolution is preserved because the canvas matches the image's native width and height, but the file format is not: a source JPEG comes back as a larger lossless PNG with no quality loss and no recovery of the original bytes. Selecting one image downloads it as name_extracted_1.png; selecting several bundles them with JSZip into name_images.zip. This pulls the embedded photo objects only, not vector paths or shapes (those are drawing instructions, not image XObjects), and not whole rendered pages, which is what the separate PDF to Images tool produces.

Frequently asked questions

Does it extract vector graphics?

Currently the tool focuses on raster images (JPEG, PNG, etc.). Vector elements like paths and shapes are not extracted.

What format are the extracted images?

All extracted images are saved as PNG. They keep their original pixel dimensions, but they are re-encoded to PNG rather than returned in whatever format they were stored as inside the PDF.

Can I extract images from a specific page only?

The tool scans the entire document, but you can select individual images from the results to download only the ones you need.

Related tools and how they differ

  • PDF Compressor: Reduces file size and returns a PDF, optionally flattening pages to images; use it to make the document smaller, not to harvest pictures.
  • PDF to Images: Renders each entire page to a PNG or JPEG at a chosen DPI; use it when you want full-page snapshots, not just the embedded photos.

Private by design

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