HotPDF Delphi PDF Component Developer Guide loslab Logo

 

THotPDF.JpegQuality

THotPDF

 

Top  Previous  Next

Indicates the trade-off ratio between the image quality and the file size

 

type TJPEGQualityRange = 1..100;

 

Delphi syntax:

property JpegQuality: TJPEGQualityRange;

 

C++ syntax:

__property Jpeg::TJPEGQualityRange JpegQuality;

 

Description

 

Use JpegQuality to set the compression quality of the JPEG image. Higher compression results in a poorer picture quality, but a smaller size.

This property is not used for reading in files.

 

TJPEGQualityRange is the type of the JpegQuality property. The higher the TJPEGQualityRange value (up to a maximum of 100), the better the image quality, but the larger the file size. The lower the TJPEGQualityRange value (to a minimum of 1), the smaller the resulting file size, but at the expense of picture quality.

 

Copyright©2007-2019 losLab.com