Accusoft ImagXpress 13
JPEGReduceData Method

The buffer holding the input JPEG file.

The buffer holding the output JPEG file.

The quality factor of the compression improvement.

The default value is 22 for strong compression improvement while maintaining very good quality. The range is from 0-32, where 0 represents almost no compression improvement, and 32 represents the most compression improvement with some quality loss.

Description
This function requantizes a JPEG in memory to compress its size without requiring decompression followed by recompression.
Syntax
Visual Basic
Public Sub JPEGReduceData( _
   ByVal inputJPEGData As Variant, _
   ByRef outputJPEGData As Variant, _
   ByVal qualityFactor As Long _
) 
Parameters
inputJPEGData

The buffer holding the input JPEG file.

outputJPEGData

The buffer holding the output JPEG file.

qualityFactor

The quality factor of the compression improvement.

The default value is 22 for strong compression improvement while maintaining very good quality. The range is from 0-32, where 0 represents almost no compression improvement, and 32 represents the most compression improvement with some quality loss.

Remarks
Supports reading and writing 8-bit grayscale and 24-bit color JPEGs.
See Also

ImagXpress Object  | ImagXpress Members

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback