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 › How to display jpg
Page Index Toggle Pages: 1
How to display jpg (Read 544 times)
How to display jpg
Dec 14th, 2009, 4:22pm
 
I have tried to follow the examples on the site but i cannot get a jpg to load as the background.

Is it possible to even load a jpg and have it at the bottom of the screen in like a logo for example?

Re: How to display jpg
Reply #1 - Dec 14th, 2009, 4:54pm
 
Your jpg must be the same size as your sketch window size if you want to use in in background() otherwise you have to use image().
Re: How to display jpg
Reply #2 - Dec 14th, 2009, 5:42pm
 
ah i see

wasnt aware there was 2

thanks

Grin
Page Index Toggle Pages: 1