Add Image Processing

[Solved] Add Image Processing | Perl - Code Explorer | yomemimo.com
Question : add image processing

Answered by : confused-capuchin-o1dxowpfiz80

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);
}

Source : https://processing.org/reference/image_.html | Last Update : Sat, 01 Aug 20

Answers related to add image processing

Code Explorer Popular Question For Perl