PeachImage

PeachImage.IccColorProfile

IccColorProfile.TryCreate(ReadOnlySpan<byte>, IccColorProfile) Method

Attempts to parse profileBytes as an ICC profile, returning false instead of throwing on any failure.

public static bool TryCreate(System.ReadOnlySpan<byte> profileBytes, out PeachImage.IccColorProfile? profile);

Parameters

profileBytes System.ReadOnlySpan<System.Byte>

profile IccColorProfile

Returns

System.Boolean