This shows you the differences between two versions of the page.
en:imgsave [2016/08/13 13:02] admin |
en:imgsave [2020/02/28 10:46] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== ImgSave ===== | ||
- | |||
- | ==== Format ==== | ||
- | **imgsave** [[stringexpressions|file_name]]\\ | ||
- | **imgsave** ( [[stringexpressions|file_name]] )\\ | ||
- | **imgsave** [[stringexpressions|file_name]], | ||
- | **imgsave** ( [[stringexpressions|file_name]], | ||
- | |||
- | ==== Description ==== | ||
- | Save the current Graphics Output Window to an image file.\\ | ||
- | By default the image is saved as a Portable Networks Graphics (PNG) file. You may optionally specify the image type as a " | ||
- | |||
- | Sometimes images will be saved with " | ||
- | < | ||
- | clg white | ||
- | </ | ||
- | |||
- | ==== Example ==== | ||
- | < | ||
- | clg white | ||
- | for t = 0 to 100 | ||
- | color rand()*256, rand()* 256, rand()*256 | ||
- | rect rand()*graphwidth, | ||
- | next t | ||
- | imgsave " | ||
- | imgsave " | ||
- | </ | ||
- | |||
- | ==== See Also ==== | ||
- | {{page> | ||
- | |||
- | ==== History ==== | ||
- | |0.9.6.45|New To Version| | ||