Is there a file size limit for the save() method

I'm loading an image into memory and manipulating the pixel data inside of my sketch. However, when I try and use either the save member function of the p5.image object, or the I/O save() method, if the original image was over over a specific size (larger than about 150kb), the download of the manipulated image fails ( the code doesn't throw any errors, but the download fails in the browser, stating "Failed - Network Error". Is there a known limit to the size of a file that can be saved using either of these methods?

Here's an example of how I'm using the methods:

var img = createImage(width, height); img.save("test", "png"); // or this save(img, "test.png");

Sign In or Register to comment.