# IPdfRedactionImageDecoder

Optional dependency boundary for image formats, such as JPEG, that the dependency-free PDF core cannot decode itself.

Interface 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[IPdfRedactionImageDecoder.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/IPdfRedactionImageDecoder.cs#L6)

**Modifiers**

abstract

Optional dependency boundary for image formats, such as JPEG, that the dependency-free PDF core cannot decode itself.

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [PdfRedactionApplyOptions.ImageDecoder](/api/pdf/officeimo-pdf-pdfredactionapplyoptions/#property-imagedecoder)

Filter members 

Show inherited

## Methods

`public abstract bool TryDecode(PdfRedactionImageDecodeRequest request, out PdfRedactionDecodedImage? image)` [#](#method-trydecode-officeimo-pdf-pdfredactionimagedecoderequest-officeimo-pdf-pdfredactiondecodedimage)

Attempts to decode one PDF image payload into an 8-bit RGBA raster.

Parameters

**request OfficeIMO.Pdf.PdfRedactionImageDecodeRequest required**

**image OfficeIMO.Pdf.PdfRedactionDecodedImage? required**

Returns

`bool`

<!-- PowerForge markdown artifact sha256:5D4696C35C6202614289CD37F1CAA54EF2440E827368B543CA5FC774A546AD74 -->
