Table of Contents
JpegQualityLevel Property

Specifies the JPEG compression quality level.

Syntax
 public Int32 JpegQualityLevel { get; set; }
Remarks

Valid values include -1 and any value ranging from 0 to 100.

  • Setting this value to 1 to 100 to explicitly specify JPEG compression level. A quality level of 0 corresponds to the greatest compression (worse image quality), and a quality level of 100 corresponds to the least compression (better image quality).
  • Setting this value to 0 to use the default compression level.
  • Setting this value to -1 to use lossless JPEG compression.

See Also