Hello,
Load the image in setup():
PImage img;
void setup()
{
size(800, 800);
img = loadImage("picture.jpg");
img.resize(width,height);
}
void draw()
{
//background(img);
image(img, 0, 0, width, height);
}
:)
Hello,
Load the image in setup():
PImage img;
void setup()
{
size(800, 800);
img = loadImage("picture.jpg");
img.resize(width,height);
}
void draw()
{
//background(img);
image(img, 0, 0, width, height);
}
:)