image upload
in
Programming Questions
•
8 months ago
I'am doing kind of similar stuff. I'm saving frames using the JSVideo lib as JPEG files(from the capture example). Now I need to upload them In the same applet. I can use a ControlP5 for an intuitive UI (I know how to upload images using PImage). But every time how can I upload the latest saved image?
sequence will be like:
. On a click of a button-1, picture will be taken & stored in the sketch's folder.
. On a click of another button-2, the capture window will get closed & viewer window will be opened.
. There two new button will take over the earlier ones as button 3 & 4 resp.
. On clicking button-4, next image will appear in the applet.
. On clicking button-3, earlier image will appear in the applet.
Now I can do all these if I know the no. of image files in that folder & their Ids.
But the problem is if I go on clicking I don't know the current volume & ID.
Any help is appreciated.
1