# PdfRedactionDecodedImage

Validated 8-bit RGBA output returned by an optional redaction image decoder.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Modifiers**

sealed

Validated 8-bit RGBA output returned by an optional redaction image decoder.

## Inheritance

- object
- PdfRedactionDecodedImage

## 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.

### Accepted by parameters 1

- Method [IPdfRedactionImageDecoder.TryDecode](/api/pdf/officeimo-pdf-ipdfredactionimagedecoder/#method-trydecode-officeimo-pdf-pdfredactionimagedecoderequest-officeimo-pdf-pdfredactiondecodedimage) parameter `image`

Filter members 

Show inherited

## Constructors

`public PdfRedactionDecodedImage(int width, int height, byte[] rgbaPixels)` [#](#constructor-ctor-int32-int32-byte)

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

Creates decoded image data. Pixels are ordered RGBA, top row first.

Parameters

**width int required**

**height int required**

**rgbaPixels byte[] required**

## Methods

`public byte[] GetRgbaPixels()` [#](#method-getrgbapixels)

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

Returns a copy of the RGBA pixels.

Returns

`byte[]`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int Width { get; }` [#](#property-width)

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

Decoded image width.

`public int Height { get; }` [#](#property-height)

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

Decoded image height.

<!-- PowerForge markdown artifact sha256:7DACD48FF6C47D29DE7C0144485DA7F9190654D8A8E96B0359F974D6C92B940E -->
