Edit

SKColorSpace.CreateIcc Method

Definition

Overloads

Name Description
CreateIcc(SKColorSpaceIccProfile)

Creates a new instance of SKColorSpace from an ICC profile.

CreateIcc(SKData)

Creates a new instance of SKColorSpace from an ICC profile.

CreateIcc(Byte[])

Creates a new instance of SKColorSpace from an ICC profile.

CreateIcc(ReadOnlySpan<Byte>)

Creates a new instance of SKColorSpace from an ICC profile.

CreateIcc(Byte[], Int64)

Creates a new instance of SKColorSpace from an ICC profile.

CreateIcc(IntPtr, Int64)

Creates a new instance of SKColorSpace from an ICC profile.

CreateIcc(SKColorSpaceIccProfile)

Creates a new instance of SKColorSpace from an ICC profile.

public static SkiaSharp.SKColorSpace CreateIcc(SkiaSharp.SKColorSpaceIccProfile profile);

Parameters

profile
SKColorSpaceIccProfile

The ICC color profile.

Returns

A new SKColorSpace, or null if the profile is invalid.

Applies to

CreateIcc(SKData)

Creates a new instance of SKColorSpace from an ICC profile.

public static SkiaSharp.SKColorSpace CreateIcc(SkiaSharp.SKData input);

Parameters

input
SKData

The ICC profile data.

Returns

A new SKColorSpace, or null if the data is invalid.

Applies to

CreateIcc(Byte[])

Creates a new instance of SKColorSpace from an ICC profile.

public static SkiaSharp.SKColorSpace CreateIcc(byte[] input);

Parameters

input
Byte[]

The ICC profile data.

Returns

Returns the new instance of SKColorSpace.

Applies to

CreateIcc(ReadOnlySpan<Byte>)

Creates a new instance of SKColorSpace from an ICC profile.

public static SkiaSharp.SKColorSpace CreateIcc(ReadOnlySpan<byte> input);

Parameters

input
ReadOnlySpan<Byte>

The ICC profile data.

Returns

A new SKColorSpace, or null if the data is invalid.

Applies to

CreateIcc(Byte[], Int64)

Creates a new instance of SKColorSpace from an ICC profile.

public static SkiaSharp.SKColorSpace CreateIcc(byte[] input, long length);

Parameters

input
Byte[]

The ICC profile data.

length
Int64

The size of the data.

Returns

Returns the new instance of SKColorSpace.

Applies to

CreateIcc(IntPtr, Int64)

Creates a new instance of SKColorSpace from an ICC profile.

public static SkiaSharp.SKColorSpace CreateIcc(IntPtr input, long length);

Parameters

input
IntPtr

The ICC profile data.

length
Int64

The size of the data.

Returns

Returns the new instance of SKColorSpace.

Applies to