hay how can i make it so that once the frame count of the program reaches 6 after saving a frame when it reaches 5 frames, that the next image from the image folder is chosen and then goes through the same process but it also updates the number ie from Pixie300.jpg to the next one being pixie301.jpg
code
if(frameCount == 5){
saveFrame("Pixie300.jpg");// auto saveframe when frame couts to 6 it save frame
else if ( frameCount ==6){
}
also how can i load a series of images rather than just one from a chosen file
quick question, is their a way to automate this process, so all i have to do is allow this program to run, i want the program to load each image process it and save the new image when the frame count gets to 6 and then load the next image and so on etc ... until the final image so by the end i am left with a sequence of new images in correspondent to the original image, is their a way to automate this process or do i have to this manually
here is the code
PImage img;
int a = 900;
void setup() {
//size(displayWidth,displayHeight); // get a sequence of colours of the image
size(a,a);
noStroke();
frameRate(2);
img = loadImage("pixie/spinks-pixie010.jpg");// absolute path loads images anywere put file name before image name
smooth();
background(255);
//rectMode(CORNER); //get a sequence rather than a collage