Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeIccColorProfile

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Provides bounded, dependency-free conversion for supported ICC color profiles.

Inheritance

  • Object
  • OfficeIccColorProfile

Remarks

Supports RGB and Gray matrix/TRC input profiles, RGB and CMYK LUT8/LUT16 input transforms, legacy LUT8/LUT16 output transforms, and bounded ICC v4 AToB/BToA transforms using the mAB/mBA types. Unsupported transform types are rejected for explicit fallback.

Usage

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

Accepted by parameters

Methods

TryConvert 2 overloads
public Boolean TryConvert(IReadOnlyList<Double> components, out OfficeColor color) #
Returns: Boolean

Attempts to convert device components through the ICC profile to sRGB.

Parameters

components System.Collections.Generic.IReadOnlyList{System.Double} requiredposition: 0
color OfficeIMO.Drawing.OfficeColor@ requiredposition: 1
public Boolean TryConvert(IReadOnlyList<Double> components, OfficeIccRenderingIntent renderingIntent, out OfficeColor color) #
Returns: Boolean

Attempts to convert device components through the ICC profile to sRGB using the requested rendering intent.

Parameters

components System.Collections.Generic.IReadOnlyList{System.Double} requiredposition: 0
renderingIntent OfficeIMO.Drawing.OfficeIccRenderingIntent requiredposition: 1
color OfficeIMO.Drawing.OfficeColor@ requiredposition: 2
TryConvertToDevice 4 overloads
public Boolean TryConvertToDevice(OfficeColor color, out Double[] deviceComponents) #
Returns: Boolean

Attempts to convert an sRGB color to the profile's device components.

Parameters

color OfficeIMO.Drawing.OfficeColor requiredposition: 0
deviceComponents System.Double[]@ requiredposition: 1
public Boolean TryConvertToDevice(OfficeColor color, OfficeIccRenderingIntent renderingIntent, out Double[] deviceComponents) #
Returns: Boolean

Attempts to convert an sRGB color to the profile's device components using the requested rendering intent.

Parameters

color OfficeIMO.Drawing.OfficeColor requiredposition: 0
renderingIntent OfficeIMO.Drawing.OfficeIccRenderingIntent requiredposition: 1
deviceComponents System.Double[]@ requiredposition: 2
public Boolean TryConvertToDevice(OfficeColor color, Double[] destination) #
Returns: Boolean

Attempts to write the profile's device components into a caller-provided destination.

Parameters

color OfficeIMO.Drawing.OfficeColor requiredposition: 0
destination System.Double[] requiredposition: 1
public Boolean TryConvertToDevice(OfficeColor color, OfficeIccRenderingIntent renderingIntent, Double[] destination) #
Returns: Boolean

Attempts to write the profile's device components into a caller-provided destination using the requested rendering intent.

Parameters

color OfficeIMO.Drawing.OfficeColor requiredposition: 0
renderingIntent OfficeIMO.Drawing.OfficeIccRenderingIntent requiredposition: 1
destination System.Double[] requiredposition: 2
public static Boolean TryCreate(Byte[] profileBytes, out OfficeIccColorProfile profile) #
Returns: Boolean

Attempts to parse a bounded supported ICC input profile.

Parameters

profileBytes System.Byte[] requiredposition: 0
profile OfficeIMO.Drawing.OfficeIccColorProfile@ requiredposition: 1
TrySoftProof 2 overloads
public Boolean TrySoftProof(OfficeColor color, out OfficeColor proofedColor) #
Returns: Boolean

Attempts to soft-proof an sRGB color through the profile's output and input transforms.

Parameters

color OfficeIMO.Drawing.OfficeColor requiredposition: 0
proofedColor OfficeIMO.Drawing.OfficeColor@ requiredposition: 1
public Boolean TrySoftProof(OfficeColor color, OfficeIccRenderingIntent renderingIntent, out OfficeColor proofedColor) #
Returns: Boolean

Attempts to soft-proof an sRGB color through the profile's output and input transforms using the requested rendering intent.

Parameters

color OfficeIMO.Drawing.OfficeColor requiredposition: 0
renderingIntent OfficeIMO.Drawing.OfficeIccRenderingIntent requiredposition: 1
proofedColor OfficeIMO.Drawing.OfficeColor@ requiredposition: 2

Properties

public Int32 ComponentCount { get; } #

Gets the number of device components accepted by this profile.

public OfficeIccProfileClass ProfileClass { get; } #

Gets the device class declared by the ICC profile header.

public Boolean HasOutputTransform { get; } #

Gets whether the profile exposes a supported PCS-to-device output transform.