createImage()
ImageDescription
Creates a new PImage (the datatype for storing images) with the given width and height.
Syntax
PImage* createImage(int w, int h, int mode)
Parameters
| Name | Type | Description |
|---|---|---|
| w | int | width in pixels |
| h | int | height in pixels |
| mode | int | ARGB or RGB |
Returns
PImage*Related
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...