# OfficeIccRasterConversionOptions

Limits and rendering intent for explicit packed-sample ICC conversion.

Class 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeIccRasterConverter.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeIccRasterConverter.cs#L23)

**Modifiers**

sealed

Limits and rendering intent for explicit packed-sample ICC conversion.

## Inheritance

- object
- OfficeIccRasterConversionOptions

## 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 [OfficeIccRasterConverter.TryConvertToSrgb](/api/core/officeimo-drawing-officeiccrasterconverter/#method-tryconverttosrgb-byte-int32-int32-byte-officeimo-drawing-officeiccrasterconversionoptions-officeimo-drawing-officerasterimage) parameter `options`

Filter members 

Show inherited

## Constructors

`public OfficeIccRasterConversionOptions()` [#](#constructor-ctor)

[OfficeIccRasterConverter.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeIccRasterConverter.cs#L23)

## 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 MaximumProfileBytes { get; set; }` [#](#property-maximumprofilebytes)

[OfficeIccRasterConverter.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeIccRasterConverter.cs#L29)

Maximum accepted profile length; the hard ceiling is 4 MiB.

`public long MaximumPixels { get; set; }` [#](#property-maximumpixels)

[OfficeIccRasterConverter.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeIccRasterConverter.cs#L38)

Maximum number of source pixels; the hard ceiling is 50 million.

`public long MaximumManagedBytes { get; set; }` [#](#property-maximummanagedbytes)

[OfficeIccRasterConverter.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeIccRasterConverter.cs#L47)

Maximum accounted source, profile, parser, and destination bytes; the hard ceiling is 256 MiB.

`public OfficeIccRenderingIntent RenderingIntent { get; set; }` [#](#property-renderingintent)

[OfficeIccRasterConverter.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeIccRasterConverter.cs#L55)

ICC rendering intent applied to every device sample.

`public CancellationToken CancellationToken { get; set; }` [#](#property-cancellationtoken)

[OfficeIccRasterConverter.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeIccRasterConverter.cs#L58)

Cancellation checked before parsing and allocation and during the pixel loop.

<!-- PowerForge markdown artifact sha256:1E3B9146253986BF40957454FCCBF8FF623F154793D1579F767FD0F65C2EE8C7 -->
