We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello everyone,
I'm trying to process all the image in a folder, how can I do?
I found this piece of Java code, how could I use it inside my sketch?
thx :-)
Answers
sketchPath() and dataPath() provides access to your sketch and data path in your OS. You can use this information together with the java code in your link. Processing is java, so it should work without much modifications. If you want to see the dataPath() in context, browse previous posts:
https://forum.processing.org/two/search?Search=dataPath
Kf
https://forum.Processing.org/two/discussion/14985/reading-textfiles-images-from-directory
https://forum.Processing.org/two/discussion/17111/how-to-display-a-random-image-using-processing#Item_3