VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageColors Namespace / ColorBase Class / LinearConvert16BitTo8Bit(Int32) Method
Syntax Requirements SeeAlso
In This Topic
    LinearConvert16BitTo8Bit(Int32) Method (ColorBase)
    In This Topic
    Linearly converts value from range [0; 65535] to the range [0; 255].
    Syntax
    'Declaration
    
    Public Shared Function LinearConvert16BitTo8Bit( _
    ByVal value
    Value to convert.
    As System.Int32 _
    ) As Byte
    public static byte LinearConvert16BitTo8Bit(
    System.Int32 value
    )
    public: static byte LinearConvert16BitTo8Bit(
    System.Int32 value
    )
    public:
    static byte LinearConvert16BitTo8Bit(
    System.Int32 value
    )

    Parameters

    value
    Value to convert.

    Return Value

    The value in the range [0; 255].
    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