VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging Namespace / WebLuminanceComputationModeEnumJS Enumeration
In This Topic
    WebLuminanceComputationModeEnumJS Enumeration
    In This Topic
    Specifies available modes of luminance calculation.
    Members
    MemberDescription
    StandardLuminance is calculated as 0.299 * R + 0.587 * G + 0.114 * B in case when luminance range is from 0 to 255, and 3 * (0.299 * R + 0.587 * G + 0.114 B) in case when luminance range is from 0 to 765.
    SumLuminance is calculated as R + G + B in case when luminance range is from 0 to 765, and (R + G + B) / 3 in case when luminance range is from 0 to 255.
    Inheritance Hierarchy

    Object
       Vintasoft.Imaging.WebLuminanceComputationModeEnumJS

    Browser Compatibility
    9
    5
    15
    5
    See Also