I'm having problems with some basic code. It is to take a screenshot image and display it. The underlying image (screen.png) will be updated every minute or so, and I want it to be displayed using processing.
Only problem is my code causes out of memory errors. Here is my code:
PImage gatewayImage;
PImage screenImage;
PImage fingerImage;
void setup() {
size(1440, 960);
frame.setLocation(0, 0);
frameRate(30);
smooth();
background(0);
// Images must be in the "data" directory to load correctly