We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › loadImage() outside sketch folder
Page Index Toggle Pages: 1
loadImage() outside sketch folder (Read 289 times)
loadImage() outside sketch folder
Dec 9th, 2008, 10:49am
 
Hi everyone

I'd like to load an image from an absolute path using loadImage(). How do I load an image from, say, my desktop?. Is this possible?

Thanks a bunch
~ce
Re: loadImage() outside sketch folder
Reply #1 - Dec 9th, 2008, 11:33am
 
Just put the absolute path as argument of the loadImage().
Re: loadImage() outside sketch folder
Reply #2 - Dec 9th, 2008, 7:40pm
 
Oh! Thanks for for the quick reply Wink
~ce
Page Index Toggle Pages: 1