# Extract assets from a PDF

Save images, embedded fonts, ICC profiles and page SVGs from a PDF, with HTML and JSON reports for image DPI, spot inks and page boxes.

Understand a PDF

[Extract PDF assets in the browser](/browser/extract-pdf-assets/) [Extract assets from the CLI](/docs/cli/pdf/#extract-pdf-assets)

Asset bundle

**Input**

PDF

**Output**

ZIP archive with assets and reports

**Package**

[OfficeIMO.Pdf on NuGet](https://www.nuget.org/packages/OfficeIMO.Pdf)

**Runs on**

Browser-local WebAssembly or .NET

**Microsoft Office**

Not required

**License**

MIT

The browser accepts one PDF up to 25 MiB and 500 pages. Extracted files are limited to 64 MiB before ZIP compression.

[Browse all PDF workflows](/pdf/)

Practical steps

## Download a PDF asset bundle

Extract files and an inventory from a PDF on your device.

1. **Choose a PDF**Open a local PDF or try the built-in sample. The browser processes it on your device.
2. **Extract assets**Keep the default RGBA export for supported soft masks or choose standard image formats under More options.
3. **Open the report**Download and unpack the ZIP, then open report.html to review files and page details.

The bundle includes distinct image and embedded font files, ICC profiles and an SVG for each page. Open `report.html` to review image placement DPI, spot inks, page boxes in millimetres, font embedding and subsets, and extraction diagnostics. Use `report.json` to read the same inventory from a script. Font subsets contain the glyphs embedded in the PDF.

## Extract from .NET

```csharp
using OfficeIMO.Pdf;

using var source = PdfDocument.Load("brochure.pdf");
source.ExtractAssets("brochure-assets");
```

Choose a new output folder. For an archive or other stream-based destination, call `ExtractAssetsTo` with a factory that opens a writable stream for each relative path.

## API used on this page

- [`PdfDocument`](/api/pdf/officeimo-pdf-pdfdocument/)

<!-- PowerForge markdown artifact sha256:4F2DAABED9EBC012478951C786F1CD023072AD872747B1A6F072D985F60783F5 -->
