processing 3 show pimage code example
Example: add image processing
PImage img;
void setup() {
// Images must be in the "data" directory to load correctly
img = loadImage("laDefense.jpg");
}
void draw() {
image(img, 0, 0);
image(img, 0, 0, width/2, height/2);
}