Hi, is there a way in OF to save each frame like in Processing:
// Saves each frame as line-000001.png, line-000002.png, etc.
saveFrame("line-######.png");
I do this (see below) but it stops the loop and save many times the same image with diferent name
void ofApp::keyPressed(int key){
string filename;
filename = "screen1" + ofToString(imgnum)+ ".png";
ofSaveScreen(filename);
imgnum++;
}
thanks
mariana