fgl_report_setPDFJPEGImageEncoding

Configure the encoding method of embedded images in PDF output.

Syntax

fgl_report_setPDFJPEGImageEncoding(
   encodeImagesAsJPEG BOOLEAN,
   jpegQuality FLOAT ) 
  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).

For an example of Genero code using a reporting function, see Using report output functions. This example may not use the specific function discussed in this topic, however it provides details on where you would place this (and other) report output functions.