Accusoft.ImagXpressSdk Namespace > SaveOptionsJpeg Class : Luminance Property |
'Declaration Public Property Luminance As Integer
'Usage Dim instance As SaveOptionsJpeg Dim value As Integer instance.Luminance = value value = instance.Luminance
public int Luminance {get; set;}
Valid values range from 0 to 255.
JPEG and ePIC images are stored in a compresed format. Compression is lossy which means when saving JPEG or ePIC files, there will be data loss. Data loss is the results of JPEG and ePICs ability to achieve high compression ratios. Higher quality settings result in less compression, while lower quality settings result in higher compression. Quality versus compression is a tradeoff. The image compression ratio can be adjused by setting the Luminance and Chrominance properties.
The Luminance property adjusts the luminance or gray scale quality and the Chrominance property adjusts the chrominance or color quality. Lower settings for these properties result in higher quality images with less compression. Higher settins for these properties result in lower quality images with more compression.
For general use photographic type images, the settings of Luminance = 24 and Chrominance = 30 provides about a 12:1 image copression ratio with minimal data loss. Compression ratios and perceived image quality varies depending on the image.
Note: As a rule, Chrominance should always have a value equal or higher than Luminance.