SetJPEGQuality

Rendering and printing

Description

Sets the quality for any JPEG images produced by the library.

Syntax

Delphi

function TPDFlib.SetJPEGQuality(Quality: Integer): Integer;

ActiveX

Function PDFlib::SetJPEGQuality(Quality As Long) As Long

DLL

int DLSetJPEGQuality(int InstanceID, int Quality);

Parameters

QualityA number between 1 and 100 indicating the quality of the image. The higher the value, the better the image quality, but the larger the file size. The lower the value, the smaller the resulting file size, but at the expense of picture quality.