The following runs on my system:
PImage img;
void setup() {
size(400,400);
img = loadImage("myImage.jpg");
}
void draw() {
image(img, 30, 60, 250, 200);
}
To my way of thinking there are four coordinates: x1, y1, x2, y2.
The following runs on my system:
PImage img;
void setup() {
size(400,400);
img = loadImage("myImage.jpg");
}
void draw() {
image(img, 30, 60, 250, 200);
}
To my way of thinking there are four coordinates: x1, y1, x2, y2.