GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Ten — Graphic and Image Functions (continued)
Overview
The ImageExportJPEG function exports an image as a JPEG file.
Syntax/Parameters
Syntax
int = ImageExportJPEG ( handle hImage, string filename, [int quality] );
Parameters
hImage
A handle to an Image object.
filename
A string containing a fully qualified filename with path.
quality
A optional integer specifying the quality (or compression of the image). The value can be from 1 (least quality) to 100 (best quality) with 75 being default.
Return Value
Returns an int value as ERROR_NONE or a formatted error code.
Remarks
JPEG employs a loss compression method, and this value sets the aggressiveness of the compression. Since it is loss compression, once a quality setting is used, original image information will be lost and subsequently increasing the quality will not improve the image. The quality setting does not affect the Image object, only the exported data.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.