Accusoft TwainPRO 9
SaveJPEGChromFactor Property
Description
Gets and sets the chrominance quality setting for saving JPEG and ePIC files.
Property Type
Read-write property
Syntax
Visual Basic
Public Property SaveJPEGChromFactor As Long
Return Type
A long value which represents the chrominance quality setting for saving JPEG and ePIC files.
Remarks

JPEG and ePIC images are stored in a compressed format. Compression is lossy which means when you save a JPEG or ePIC file, there will be data loss. Data loss is the result 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 adjusted by setting the SaveJPEGLumFactor and SaveJPEGChromFactor properties. The SaveJPEGLumFactor adjusts the luminance or gray scale quality and the SaveJPEGChromFactor adjusts the chrominance or color quality. Lower settings for these properties result in higher quality images with less compression. Higher settings for these properties result in lower quality images with more compression.

For general use photographic type images, the settings of 32 for luminance and 36 for chrominance provides about a 12:1 image compression ratio with minimal data loss. Compression ratios and perceived image quality will vary depending on the image.

See Also

TwainPro Object  | TwainPro Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback