I’m working on a sketch which composites 60 large images into a single extra-large image.
However, I’m hitting an ArrayIndexOutOfBounds when I initialize the PGraphics object with the required dimensions (65628 x 35292), which I think is being thrown bc the total number of pixels (2,316,143,376) is causing some kind of length problem with the pixels array (or its associated initialization functions)?
I have two questions here: (1) Has anyone made a library which handles images this size? and/or (2) if not, would the thing to do here be to create a new class which extends PGraphics and replaces INTs with FLOATs (or something? It’s been a while since I’ve gone under the hood like this).
Happy to hear any alternatives or ideas y’all may have. Thanks in advance!
– Devin