画像のサイズと背景の色を設定して、save関数で画像を作成する。
size(1280,720);
background(255,255,255);
save("white.jpg");
今回は、以下のような画像が作成される。
white.jpg
![](https://www.miraiportal.com/wp-content/uploads/2023/07/white-1024x576.jpg)
参考
save() / Reference
Saves an image from the display window. Append a file extension to the name of the file, to indicate the file format to ...
![](https://miraiportal.com/wp-content/uploads/2021/01/white-1024x576.jpg)