AccusoftImagXpress13 ActiveX DLL > ImagXpress Object : JPEGReduceFileEx 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.
The transform mode for the reduce operation.
The default value is IX_TransformMode_None.
Transforming Sequential to Progressive may result in a small increase in size. |
Transforming Progressive to Sequential may result in a small increase in size. |
Visual Basic |
---|
Public Sub JPEGReduceFileEx( _ ByVal inputJPEGFileName As String, _ ByVal outputJPEGFileName As String, _ ByVal qualityFactor As Long, _ ByVal transformMode As IX_TransformMode _ ) |
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.
Value | Description |
---|---|
IX_TransformMode_None | No transform occurs. |
IX_TransformMode_ToProgressiveJpeg | Transforms a Sequential or Baseline JPEG to a Progressive JPEG. |
IX_TransformMode_ToSequentialJpeg | Transforms a Progressive JPEG to a Sequential or Baseline JPEG. |
The transform mode for the reduce operation.
The default value is IX_TransformMode_None.
Transforming Sequential to Progressive may result in a small increase in size. |
Transforming Progressive to Sequential may result in a small increase in size. |
Supports reading and writing 8-bit grayscale and 24-bit color JPEGs. |