A. Features Introduced in OpenROAD 4.1 : Reporter Enhancements : Tutorial : Working With Image Trim
 
Share this page                  
Working With Image Trim
As described previously, reports that use image trim in their definitions may require additional support when imported to target applications. If this support is not provided the report can still be run:
with image-trim – if database or disk resident images are available on the target machine/database and stored as on the design machine/database.
without image-trim – if original images are not available.
Image Directories
Disk-resident image trim must exist in the original directory from which it was defined or in a single directory anywhere on the local machine if the environment variable II_REPIMAGE_DIR is set to point to that directory or the parameter PM_IMGDir is passed to the report or its dialog frame. For a given report, alldisk-resident image trim must be stored in the same way.
In the Procedure Tool a report can be run in either mode determined by the setting of Images/Options/Use Image Dir. The image directory can be set by Options/Files/Image Directory and this will override II_REPIMAGE_DIR if that is also set.
Image Servers
Image trim that was database-resident at design time may exist in the Reporter images catalogs that must be a copy of the design database Reporter images catalogs, or the image bitmaps may be copied into an Image Server Frame.
An Image Server is an OpenROAD frame managed by a Reporter-defined userclass. The Image Server Frame becomes part of the target application for report procedures and may be constructed by the Procedure Tool. An appropriate Imager Server frame must be created or loaded from disk. Options/Files/Image Server may set a default name and it is expected to reside in the working directory.
Images/Image Server/Load – load an image server frame from disk and initialize the Global Image Server object
Images/Image Server/Create – build a new image server frame
Note:  In either case, if an Image Server is already initialized you will be prompted to keep or replace it.
Images/Image Server/Add Images – determine which database-resident images are required by the specified report(s) and add them to the image server frame. Each image has a unique ID that corresponds to the ID in the design database. Multiple documents can share the same image.
Note:  A Single Image Server Frame can support multiple reports but all must come from the same design database.
Images/Image Server/Add Image Options:
Replace Existing: (currently, always FALSE) – any attempts to add an image trim that is already present will be ignored.
Note:  Each report can add an association for an existing image to the server frame—these associations are held in a viewable TableField (View/Image Server)
Add Selected/Add All: add images from current procedure or all procedures listed as Session Reports
File/Save Image Server: Export the image server to disk. Only available if server has been modified.