VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ColorManagement Namespace / ColorTransformsOptimizer Class / GetOptimizedTransform Methods / GetOptimizedTransform(ColorTransform) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    GetOptimizedTransform(ColorTransform) Method (ColorTransformsOptimizer)
    In This Topic
    Returns an optimized thread-unsafe color transform that is identical to the specified color transform.
    Syntax
    'Declaration
    
    Public Overloads Shared Function GetOptimizedTransform( _
    ByVal transform
    A ColorTransform to optimize.
    As ColorTransform _
    ) As ColorTransform
    public static ColorTransform GetOptimizedTransform(
    ColorTransform transform
    )
    public: static ColorTransform* GetOptimizedTransform(
    ColorTransform* transform
    )
    public:
    static ColorTransform^ GetOptimizedTransform(
    ColorTransform^ transform
    )

    Parameters

    transform
    A ColorTransform to optimize.

    Return Value

    A ColorTransform that is identical to the original color transform, or null if transform is identity transform.
    Exceptions
    ExceptionDescription
    Thrown if transform is null.
    Thrown if threadSafeColorTransform is true and transform is not thread-safe.
    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