PNG Subcommand (OUTPUT EXPORT Command)
For graphics exported as separate files in PNG format, the PNG
subcommand
controls settings for those graphic files.
IMAGEROOT Keyword
- The
IMAGEROOT
keyword is required if you are exporting graphics only, without any document type. - The keyword is followed by an equals sign and a root name enclosed in quotes. The quoted root name can also include a directory path.
- File names are generated by adding a sequential integer to the root name, starting with 0.
- If any subcommand with a
DOCUMENTFILE
keyword is specified,IMAGEROOT
is ignored.
PERCENTSIZE Keyword
The PERCENTSIZE
keyword specifies
the size of graphics as a percentage of the original size. The keyword
is followed by an equals sign and a positive number that does not
exceed 200. The default value is 100.
DEPTH Keyword
The DEPTH
keyword controls the number of colors
in the exported graphics. If the number of colors in the graphic exceeds
the number of colors for that depth, the colors will be dithered to
replicate the colors in the graphic. The keyword is followed by an
equals sign and one of the following alternatives:
SCREEN. Current screen depth. The number of colors currently displayed on your computer monitor. This is the default.
GRAYS256. Grayscale. Colors are converted to shades of gray.
Example
OUTPUT EXPORT
/PNG IMAGEROOT='/mydocs/mygraphic'
PERCENT=50
DEPTH=GRAYS256.