VintaSoft Imaging .NET SDK v8.5
WebLuminanceComputationModeEnumJS Enumeration
Vintasoft.Imaging Namespace : WebLuminanceComputationModeEnumJS Enumeration
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
11
5
See Also

Reference

Vintasoft.Imaging Namespace