VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ColorManagement Namespace / ColorManagementDecodeSettings Class / GetColorTransformUsingEmbeddedProfile Methods / GetColorTransformUsingEmbeddedProfile(ColorSpaceFormat,ColorSpaceFormat,IccProfile,Boolean,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
    GetColorTransformUsingEmbeddedProfile(ColorSpaceFormat,ColorSpaceFormat,IccProfile,Boolean,Boolean) Method (ColorManagementDecodeSettings)
    In This Topic
    Returns a ColorTransform that can be used for transforming colors from the source color format to the destination color format directly or through a series of color transforms.
    Syntax
    'Declaration
    
    Public Overloads Function GetColorTransformUsingEmbeddedProfile( _
    ByVal sourceColorFormat
    Source color format.
    As Vintasoft.Imaging.ColorSpaceFormat, _
    ByVal destColorFormat
    Destination color format.
    As Vintasoft.Imaging.ColorSpaceFormat, _
    ByVal inputProfile
    Embedded input ICC profile.
    As Vintasoft.Imaging.ColorManagement.Icc.IccProfile, _
    ByVal constructThreadSafeColorTransforms
    A value indicating whether the method must construct thread-safely color transformations.
    As Boolean, _
    ByVal allowSimpleColorTransforms
    A value indicating whether simple color transforms, such as channels order conversion or CMYK to RGB simple conversion, can be returned.
    As Boolean _
    ) As ColorTransform

    Parameters

    sourceColorFormat
    Source color format.
    destColorFormat
    Destination color format.
    inputProfile
    Embedded input ICC profile.
    constructThreadSafeColorTransforms
    A value indicating whether the method must construct thread-safely color transformations.
    allowSimpleColorTransforms
    A value indicating whether simple color transforms, such as channels order conversion or CMYK to RGB simple conversion, can be returned.

    Return Value

    A ColorTransform that can be used for transforming colors from sourceColorFormat to destColorFormat, or null if necessary transform was not found.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also