You can add an image to a report by:
Importing an image from a file into the report layout (paper-based reports only).
Creating a file link object in the Paper Layout (paper-based reports only):
linking to a file containing a URL to an image (HTML and HTMLCSS output only)
Selecting a database column in a query (both paper-based and JSP-based Web reports):
containing a URL to an image (HTML output only)
The first method (using the Import Image dialog box) provides for including images in the following formats: TIFF, JFIF, BMP, TGA, PCX, PICT, GIF, CALS, RAS, OIF, PCD.
The other two methods (creating a file link object, and selecting a column in the database) provide for including additional formats supported by Oracle Reports, including JPEG (all types, such as Progressive JPEG and Exif JPEG), PNG, BMP, TIFF, GIF, and CGM.
By default, images display in fields so that they appear in the printed report, not only in the Previewer.
Enhanced imaging support is provided by the REPORTS_OUTPUTIMAGEFORMAT
environment variable and OUTPUTIMAGEFORMAT
command line keyword. The enhancements in imaging support provide the capability
to generate complex graphics-intensive reports with high fidelity image ouput.
Additionally on UNIX, there is no dependency on a windowing system for displaying
images; the PostScript printer driver screenprinter.ppd
provides surface resolution for images.
You can include an unlimited number of image objects without running out of local disk space by using non-caching references. A non-caching reference causes objects to be read from the database only when needed while a report is processing. You must be connected to an ORACLE V7.1 or later database to use this feature.
If you reference a URL for an image, the image is displayed when you format your report for HTML output. For other output formats, the URL text displays in the Paper Design view. In the output destination (for example, a file or PDF document), nothing is displayed. It is your responsibility to verify that the URL exists; Oracle Reports does not validate the existence of the resource nor the syntax of the protocol. The size of the object that contains the URL defines the size of the image in the HTML output. Any elasticity properties applied to the object are ignored.
If the input image includes more than 256 colors, and the output
image format is set to GIF (with the OUTPUTIMAGEFORMAT
command line keyword or the REPORTS_OUTPUTIMAGEFORMAT
environment variable), Oracle Reports implements a color reduction to 256
colors to successfully generate the GIF.
On UNIX, CGM format is not supported in HTML output. This limitation does not apply on the Windows platform.
Selecting an image from the database
Selecting an image URL from the database
Linking an image object to a file
Linking an image object to a URL
Copyright © 1984, 2005, Oracle. All rights reserved.