# Export-OfficePdfImage

Exports PDF pages through the shared PNG, JPEG, TIFF, SVG, or WebP image contract.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`None`

**Outputs**

`OfficeIMO.Drawing.OfficeImageExportResult`

**Source**

[ExportOfficePdfImageCommand.cs:19](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Pdf/ExportOfficePdfImageCommand.cs#L19) 

Exports PDF pages through the shared PNG, JPEG, TIFF, SVG, or WebP image contract.

## Syntax

```
Export-OfficePdfImage
[-Format <OfficeImageExportFormat>]
[-IgnorePermissionRestrictions]
[-Options <PdfImageExportOptions>]
[-OutputPath] <String>
[-PageRange <String>]
[-PassThru]
[-Password <String>]
[-Path] <String>
[-ReadOptions <PdfLoadOptions>]
[<CommonParameters>]
```

[#](#method-export-officepdfimage-officeimageexportformat-switchparameter-pdfimageexportoptions-string-string-switchparameter-string-string-pdfloadoptions)

Parameter set: `All Parameter Sets`

## Examples

### Export selected pages as PNG files.

```powershell
Export-OfficePdfImage -Path .\Report.pdf -OutputPath .\Pages -PageRange '1-3,5'
```

Writes the selected pages. Add -PassThru to receive normalized image results with rendering diagnostics.

## Parameters

**-Format OfficeImageExportFormat optional**

Output image format.

Possible values: `Png`, `Svg`, `Jpeg`, `Tiff`, `Webp`, `Bmp`, `Pbm`, `Tga`, `Icon`

**-IgnorePermissionRestrictions SwitchParameter optional**

After successful password authentication, explicitly ignore owner-imposed extraction restrictions.

**-Options PdfImageExportOptions optional**

Optional DPI, scale, thumbnail, encoding, diagnostics, and resource limits.

**-OutputPath String requiredposition: 1**

Destination folder.

**-PageRange String optional**

Optional one-based ranges such as 1-3,5.

**-PassThru SwitchParameter optional**

Emit one structured image export result per saved page.

**-Password String optional**

Password used to authenticate an encrypted PDF.

**-Path String requiredposition: 0**

Path to the PDF.

**-ReadOptions PdfLoadOptions optional**

Optional bounded PDF parsing settings.

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:B4AEE7834139101B13367C4BB383A94F431961D7FED463FECF15C7370EB9B49A -->
