Extract and optimize images from a PDF
Extract embedded images, resize and convert them, strip their metadata, then download the batch.
What does this template do?
Extract embedded images, resize and convert them, strip their metadata, then download the batch.
This template retrieves the photos and illustrations embedded in a PDF, then prepares them for reuse: same width, WebP conversion and metadata removal. It saves taking screenshots page by page to reuse a brochure’s visuals.
Pipeline steps
This template automatically chains 6 steps in the Workspace. You can review every setting before running it.
- 1Import a PDF
- 2Extract images from the PDF
- 3Resize the image
- 4Convert and compress
- 5Remove metadata
- 6Download the images
Why the steps come in this order
Extraction first produces a collection of images. Each one is then resized, converted and stripped of its metadata, in the same order as photos imported directly.
When should you use this template?
- Retrieve the photos of a sales brochure for a website.
- Extract the illustrations of a report for a presentation.
- Gather the visuals of a PDF catalogue before publishing them.
Local processing in your browser
When the selected modules support local processing, your files stay on your device while the Pipeline runs.
Settings to check
- Width: 1,600 px by default for every image; smaller ones are enlarged, lower it for icons or thumbnails.
- Format: WebP at 82 by default, JPEG or PNG as alternatives.
- Extraction has no settings: every raster image in the document is retrieved.
Example
- Before
- 12-page PDF brochure containing 9 photos.
- After
- The 9 photos as 1,600 px WebP files, without metadata.
Limits to know
- Only embedded raster images are extracted: vector drawings, charts and text are not.
- An image may be stored in several pieces or with a separate mask in the PDF; it then comes out as several files.
- Small elements such as logos or bullets are extracted too.