Cannot convert from PImage to PImage
in
Programming Questions
•
2 years ago
I'm just getting started and am working on the tutorial for leaning the PImage class.
This is the code I wrote to open a .jpg:
PImage img;
void setup(){
size(550,700);
img = loadImage("kaiju_anatomy_1.jpg");
}
void draw(){
background(0);
image(img,0,0);
}
Processing keep returning the error: "Cannot convert from PImage to PImage"
Can anybody offer some advice on how to resolve this?
Thanks
This is the code I wrote to open a .jpg:
PImage img;
void setup(){
size(550,700);
img = loadImage("kaiju_anatomy_1.jpg");
}
void draw(){
background(0);
image(img,0,0);
}
Processing keep returning the error: "Cannot convert from PImage to PImage"
Can anybody offer some advice on how to resolve this?
Thanks
1