This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:imgsave [2016/01/01 22:41] 127.0.0.1 external edit |
en:imgsave [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
==== Format ==== | ==== Format ==== | ||
- | **imgsave** | + | **imgsave** |
- | **imgsave** ( //file_name// )\\ | + | **imgsave** ( [[stringexpressions|file_name]] )\\ |
- | **imgsave** | + | **imgsave** |
- | **imgsave** ( //file_name//, // | + | **imgsave** ( [[stringexpressions|file_name]], [[stringexpressions|image_type]] |
==== Description ==== | ==== Description ==== | ||
Save the current Graphics Output Window to an image file.\\ | 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 " | By default the image is saved as a Portable Networks Graphics (PNG) file. You may optionally specify the image type as a " | ||
+ | |||
+ | {{page> | ||
Sometimes images will be saved with " | Sometimes images will be saved with " | ||
< | < | ||
- | color white | + | clg white |
- | rect 0, 0, graphwidth, graphheight | + | |
</ | </ | ||
==== Example ==== | ==== Example ==== | ||
< | < | ||
- | color white | + | clg white |
- | rect 0, 0, graphwidth, graphheight | + | |
for t = 0 to 100 | for t = 0 to 100 | ||
color rand()*256, rand()* 256, rand()*256 | color rand()*256, rand()* 256, rand()*256 | ||
Line 34: | Line 34: | ||
==== History ==== | ==== History ==== | ||
|0.9.6.45|New To Version| | |0.9.6.45|New To Version| | ||
+ | |1.99.99.58|Added Named Constants| | ||