A script-enabled browser is required for this page to function properly.

OUTPUTIMAGEFORMAT command line keyword

OUTPUTIMAGEFORMAT specifies the format for images in report output.

The executables that can use this keyword are:

rwbuilder yes
rwrun yes
rwclient yes
rwcgi yes
rwserver no
rwservlet yes
rwconverter no

Syntax

OUTPUTIMAGEFORMAT={PNG|JPEG|JPG|GIF|BMP}

Values

Description

PNG
JPEG (default)
JPG

Supported image formats when DESFORMAT value is PDF, HTML, HTMLCSS, RTF, or SPREADSHEET

GIF Supported image format when DESFORMAT value is PDF, HTML, HTMLCSS, or SPREADSHEET
BMP Supported image format when DESFORMAT value is RTF

Usage notes

Examples

Example 1

The following command lines generate PNG images with HTML output:

rwclient server=my_rep_server report=images.rdf destype=file desformat=html desname=images.html userid=user_id outputimageformat=PNG

rwrun report=images.rdf destype=file desformat=html desname=images.html userid=user_id outputimageformat=PNG

Similarly when DESFORMAT=PDF, images are embedded in PNG format in the generated PDF document.

Example 2

An error is displayed if an invalid value is specified for the OUTPUTIMAGEFORMAT. The following command lines generate an error message:

rwclient server=my_rep_server report=images.rdf destype=file desformat=html desname=images.html userid=user_id outputimageformat=ABCD

rwrun report=images.rdf destype=file desformat=html desname=images.html userid=user_id outputimageformat=ABCD

The invalid image format ABCD generates the following error message:

REP-35000: The image output format specified is not supported.

See also

Command line keywords

Using the command line

Running a report from the command line