saveCanvas() of p5.js stopped working after downloading newest version of Processing

It was working pretty well before. I was able to save jpg files by just calling saveCanvas() in the setup(). After I downloaded the newest version of processing, it stopped working, and only a blank canvas is saved.

Hello @laya,

It works here using latest p5.js mode:

Code tested:

function setup() {
  background('red');
  saveCanvas("test.png");
}

function draw() {
}

:)

1 Like