fgl_report_setPDFJPEGImageEncoding

Configure the encoding method of embedded images in PDF output.

Syntax

fgl_report_setPDFJPEGImageEncoding(
   encodeImagesAsJPEG STRING,
   jpegQuality BOOLEAN ) 
  1. encodeImagesAsJPEG - Specifies images to be encoded in JPEG format. The default value is False.
  2. jpegQuality - Sets the compression quality to a value between 0 and 1. By default a value of 1 is used (highest quality).

Usage

Function to configure the encoding method of embedded images in PDF output.

Optional JPEG image encoding can be configured to shrink the size of PDF documents using this function. This function is applicable when PDF output has been selected by a call to the function fgl_report_selectDevice. All arguments to this function are optional (indicated by passing a null value).

See Usage.