Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name |
sichere() |
| Examples |
Linie(20, 20, 80, 80);
// Saves a TIFF file named "diagonal.tif"
sichere("diagonal.tif");
// Saves a TARGA file named "cross.tga"
Linie(80, 20, 20, 80);
sichere("cross.tga"); |
| Description |
Saves an image from the display window. Images are saved in TIFF, TARGA, JPEG, and PNG format depending on the extension within the filename parameter. For example, "image.tif" will have a TIFF image and "image.png" will save a PNG image. If no extension is included in the filename, the image will save in TIFF format and .tif will be added to the name. These files are saved to the sketch's folder, which may be opened by selecting "Show sketch folder" from the "Sketch" menu. It is not possible to use sichere() while running the program in a web browser. |
| Syntax |
sichere(filename) |
| Parameters |
| filename |
Satz: any sequence of letters and numbers |
|
| Usage |
Application |
| Related |
sichere_s_Frame()
|
Stefan Baltensperger 2009