MCPcopy Index your code
hub / github.com/processing/processing / createImage

Method createImage

core/src/processing/core/PApplet.java:2377–2381  ·  view source on GitHub ↗

( begin auto-generated from createImage.xml ) Creates a new PImage (the datatype for storing images). This provides a fresh buffer of pixels to play with. Set the size of the buffer with the width and height parameters. The format parameter defines how the pixels are stored. Se

(int w, int h, int format)

Source from the content-addressed store, hash-verified

2375 * @see PGraphics
2376 */
2377 public PImage createImage(int w, int h, int format) {
2378 PImage image = new PImage(w, h, format);
2379 image.parent = this; // make save() work
2380 return image;
2381 }
2382
2383
2384 //////////////////////////////////////////////////////////////

Callers 4

requestImageMethod · 0.95
loadImageTGAMethod · 0.95
splashMethod · 0.80
offscreenGraphicsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected