| Language \ Environment \ Comparison |

| Index

| The Processing 1.0 _ALPHA_ Reference is a work in progress. If you see any errors or have any comments, please write to: reas at groupc.net

Name |  | ### save()
Examples |  |
    line(20, 20, 80, 80);
    // Saves a TIFF file named "diagonal.tif"
    save("diagonal.tif");
    // Saves a TARGA file named "cross.tga"
    line(80, 20, 20, 80);
    save("cross.tga");
Description |  | Makes an image from the display window. Images are saved in TIFF or TARGA format depending on the extension of the parameter filename. If no extention is included in the filename, the image will save as TIFF and .tif will be added to the name. It is not possible to use save() while running the program in a web browser.
Syntax |  |
    save(filename)
Parameters |  |
filename |  | String: any sequence of letters and numbers
Returns |  | None
Usage |  | Application
Related |  | saveFrame()

| © 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea |
| Processing is an open project initiated by Ben Fry and Casey Reas |