Accusoft ImagXpress 13
JPEGReduceFile Method

The name of the input JPEG file.

The name of 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 on disk to compress its size without requiring decompression followed by recompression.
Syntax
Visual Basic
Public Sub JPEGReduceFile( _
   ByVal inputJPEGFileName As String, _
   ByVal outputJPEGFileName As String, _
   ByVal qualityFactor As Long _
) 
Parameters
inputJPEGFileName

The name of the input JPEG file.

outputJPEGFileName

The name of 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

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback