Image
Description
Datatype for storing images.
p8g can display .jpg, .png, .tga, .bmp, .psd, .gif, .hdr and .pic images. Before an image is used, it must be loaded with the loadImage function. The Image datatype contains fields for the width and height of the image.
Syntax
Image
Fields
Field | Description |
---|---|
width | the width of the image |
height | the height of the image |