Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name | sichere_s_Frame() |
||||
|---|---|---|---|---|---|
| Examples | Ganzizahl x = 0;
Programmteil wo_immerwider_gmacht_wird()
bitte
Hintergrund(204);
waen(x CHLINERALS 100) bittee
Linie(x, 0, x, 100);
x = x + 1;
danke suscht bitte
kein_Luup);
danke
// Saves each frame as screen-0000.tif, screen-0001.tif, etc.
sichere_s_Frame();
dankeGanzizahl x = 0;
Programmteil wo_immerwider_gmacht_wird()
bitte
Hintergrund(204);
waen(x CHLINERALS 100) bittee
Linie(x, 0, x, 100);
x = x + 1;
danke suscht bitte
kein_Luup);
danke
// Saves each frame as line-0000.tif, line-0001.tif, etc.
sichere_s_Frame("line-####.tif");
danke |
||||
| Description | Saves a numbered sequence of images, one image each time the function is run. To save an image that is identical to the display window, run the function at the end of wo_immerwider_gmacht_wird() or within mouse and Taschte events such as Muus_truckt() and Taschte_truckt(). If sichere_s_Frame() is called without parameters, it will save the files as Bildschirm-0000.tif, Bildschirm-0001.tif, etc. It is possible to specify the name of the sequence with the filename parameter and make the choice of saving TIFF, TARGA, PNG, or JPEG files with the ext parameter. These image sequences can be loaded into programs such as Apple's QuickTime software and made into movies. 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 saveXxxxx() methods inside a web browser unless the sketch is signed. To save a file back to a server, see the save to web example. |
||||
| Syntax | sichere_s_Frame()
sichere_s_Frame("filename-####.ext") |
||||
| Parameters |
|
||||
| Usage | Application | ||||
| Related | sichere() |

