We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi everyone! I'm new to this forum so I should present myself first: I'm Diogo, from Portugal, and I'm a graphic designer. I'm trying to make a sketch that I want to export (for Mac and Windows) to give to a few friends. The basic concept is that you can vectorize an image in a more graphic/abstract way. So I want them to be able to import their own images. I've seen some tips on loading images from a path or url. But I can't use an absolute path, since I'm going to share and export it... Any ideas? Thanks!
Answers
Welcome to the Processing Forum! You can have the user select the input file with
selectInput()
.Thank you! Exactly what I wanted. But I still have one question, if you please. I made the following code to only draw something after the image is loading. Works fine except one thing: Processing crashes when you exit the sketch...
I was trying to use this solution, which is smarter, but it doesn't work.
I did a more simplified example. Check that out: :bz
This is exactly what I wanted. Thank you both so much! (And thank you GoToLoop for the extra dancing Bee.) As soon as I get a beta version, I will share it with you. Thanks!