Product Documentation
Virtuoso Space-based Router Command Reference
Product Version IC23.1, September 2023

export_jpeg

export_jpeg 
[ -file s_fileName ] 
[ -imageQuality i_ratio ] 
[ -jpeg | -png ]

Description

Creates a graphics file for the active window. The image quality (i.e., compression ratio) can optionally be set. If no arguments are specified, the Save JPEG dialog box appears, prompting you to specify the output image file to create using the default image quality and the current active window. This command cannot be used in batch/non-graphics mode.

The GUI equivalent for this command is File—Export Jpeg....

Arguments

-file s_fileName  

Specifies the name of the graphics file to create.

-imageQuality i_ratio

  

Specifies the image quality/compression ratio. The lower the number, the lower the quality (and the higher the compression). Zero (0) specifies maximum compression (which seriously degrades quality), 100 specifies the maximum quality, -1 specifies the default ratio (currently set to 100).

Default: -1

-jpeg | -png  

Specifies the graphics file format as JPEG or PNG.

Default: JPEG

Value Returned

None

Examples

The following example generates the JPEG file newEdits.jpg with an image quality of 90.

export_jpeg -file newEdits.jpg -imageQuality 90 -jpeg

Related Topics

File Commands


Return to top
 ⠀
X