Configure the encoding method of embedded images in PDF output.


   encodeImagesAsJPEG BOOLEAN,
   jpegQuality FLOAT ) 
  1. encodeImagesAsJPEG - When TRUE, images are encoded in JPEG format. The default value is FALSE.

    To specify a BOOLEAN value, enter TRUE or FALSE without quotation marks.

  2. jpegQuality - Sets the compression quality to a value between 0 and 1. By default a value of 1 is used (highest quality).


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; pass a value of NULL if you don't want to set a 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.