Provides access to ICC profile.
Here is an example that shows how to open an ICC profile from file and retrieve a color transform from the device color space to PCS.
''' <summary>
''' Returns a color transform, which transforms colors from the device to PCS color space,
''' from specified ICC profile.
''' </summary>
Public Shared Function GetDeviceToPcsTransform(iccProfileFilename As String) As Vintasoft.Imaging.ColorManagement.ColorTransform
Using profile As New Vintasoft.Imaging.ColorManagement.Icc.IccProfile(iccProfileFilename)
Return profile.GetDeviceToPcsTransform()
End Using
End Function
/// <summary>
/// Returns a color transform, which transforms colors from the device to PCS color space,
/// from specified ICC profile.
/// </summary>
public static Vintasoft.Imaging.ColorManagement.ColorTransform GetDeviceToPcsTransform(string iccProfileFilename)
{
using (Vintasoft.Imaging.ColorManagement.Icc.IccProfile profile =
new Vintasoft.Imaging.ColorManagement.Icc.IccProfile(iccProfileFilename))
{
return profile.GetDeviceToPcsTransform();
}
}
System.Object
 Vintasoft.Imaging.ColorManagement.Icc.IccProfile
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5