Quality Property

Contained in the JPEG object ; Sets/returns the quality of the JPEG file that is to be generated when the CreateFile method is called. This property has a data range from 1 to 99.

 

The lower quality values generate JPG files with less clarity, but are quicker to create and occupy less space. The higher quality values generate JPG files with higher clarity, but are slower to create and occupy more space.

 

Default Value

75

 

Syntax

JPEG.Quality [= short ]

The Quality property syntax has these parts:

Part  Description

JPEG  An object expression that evaluates to a JPEG object.

short  A numeric expression indicating the new quality of the JPEG image.