Loading images
in
Programming Questions
•
1 year ago
Hi. I need some help. New to processing, ive got my sketch working for the most part but i'm having problems with the code for loading images. I can load one in via the code if i specify it's name and after some messing and internet searching i now have a display area and two buttons which move recursively through the files in data and the containing folder(?). My problem is i cant for the life of me figure out how to change the code so i can specify only to 'see' bmp or jpg and then select them, also i can know the dir length and only pick stuff for there which is good but not if some of the files are not bmp, i.e. fonts or other stuff.
Any way i'm sure that's all as clear as mud. I haven't posted any code as it's so bad and just bit's of stuff from the site cobbled together. What i would like is a good link to some were that can tell me how to do this kind of simple file handing, or explain it here. Cheers!
1