IMAGES and IMAGEFORMAT Keywords (OMS command)
For HTML and OXML document format, you can include charts, tree diagrams, and model views in a
number of different graphic formats with the IMAGES
and
IMAGEFORMAT
keywords. For the SPV format, these settings only apply to tree
diagrams, not charts or model views.
IMAGES Keyword
-
IMAGES=YES
produces a separate image file for each chart and/or tree diagram. Image files are saved in a separate subdirectory (folder). The subdirectory name is the name of the destination file without any extension and with "_files" appended to the end. This is the default setting.Note: When the destination is the XML workspace (
XMLWORKSPACE
keyword), images are stored in the workspace rather than in a physical file. See the topic XMLWORKSPACE Keyword for more information. - For HTML document format, standard
<IMG SRC='filename'>
tags are included in the HTML document for each image file. - For charts in OXML document format, the XML file contains
chart
elements with anImageFile
attribute of the general form<chart imageFile="filepath/filename"/>
for each image file.IMAGES=YES
has no effect onFORMAT=OXML
unless you also specifyCHARTFORMAT=IMAGE
. See the topic CHARTFORMAT Keyword (OMS command) for more information. - For model views in OXML document format, the XML file contains
modelview
elements with anImageFile
attribute of the general form<modelview imageFile="filepath/filename"/>
for each image file.IMAGES=YES
has no effect onFORMAT=OXML
unless you also specifyMODELFORMAT=IMAGE
. See the topic MODELFORMAT Keyword (OMS command) for more information. - For HTML format,
IMAGES=NO
excludes charts, tree diagrams, and modelviews. - For OXML format,
IMAGES=NO
causes charts, tree diagrams, and model views to be included in the document in XML format instead of as separate image files.
IMAGEFORMAT Keyword
- PNG is the default image format.
- For HTML document format, the available image formats are PNG, JPG, and BMP.
- For OXML document format, the available image formats are PNG, JPG, and BMP.
- For the SPV document format, the available image formats are PNG, JPG, and BMP.
Example
OMS SELECT TABLES CHARTS
/DESTINATION FORMAT=HTML
IMAGES=YES
IMAGEFORMAT=JPG
OUTFILE='/htmloutput/julydata.htm'.