( begin auto-generated from loadImage.xml ) Loads an image into a variable of type PImage . Four types of images ( .gif , .jpg , .tga , .png ) images may be loaded. To load correctly, images must be located in the data directory of the current sketch. In most cases, lo
(String filename)
| 5483 | * @see PGraphics#background(float, float, float, float) |
| 5484 | */ |
| 5485 | public PImage loadImage(String filename) { |
| 5486 | // return loadImage(filename, null, null); |
| 5487 | return loadImage(filename, null); |
| 5488 | } |
| 5489 | |
| 5490 | // /** |
| 5491 | // * @param extension the type of image to load, for example "png", "gif", "jpg" |
no test coverage detected