I have a Processing sketch that reads folders of images and displays them.
It has been working great but it seems that as soon as the folder got over 500 images I get an error.
My code is pretty straight forward.
I define a Pimage array at the start of my sketch
Then populate the array with the images from the folder.
gridImage[i] = loadImage(f.getName() );
It works great until I seem to max out the array as I get and “array out of bounds error” if there are more than 500 images in the folder.