|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| draw.ID.save(Filename, Compression, GrayScale) |
Parameters
| STRING | Filename | Image filename.
| | INT | Compression | Optional. for JPG format files only Compression level in percent
| | INT | GrayScale | Optional. for JPG format files only |
Return value
No value is returned.
Description
Save an image to disk.
Supported formats are BMP and JPG. |
MioScript Sample Code
draw.main.rect(0,0,400,400,num.rgb(255,255,0))
draw.main.save(path.desktop("myImage.jpg")) |
|
|
|