JPG Subcommand (OUTPUT EXPORT Command)
For graphics exported as separate files in JPEG format, the JPG
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.
GRAYSCALE Keyword
The GRAYSCALE
keyword controls
conversion of color images to grayscale images. The keyword is followed
by an equals sign and one of the following alternatives:
YES. Convert images to grayscale. Color are converted to shades of gray.
NO. Do not convert images to grayscale. This is the default.
Example
OUTPUT EXPORT
/JPG IMAGEROOT='/mydocs/mygraphic'
PERCENT=50 GRAYSCALE=YES.