Image

This object represents an image resource loaded into memory. Images are rendered on the screen using the canvas object. It is usually recommended to share one image object between multiple canvases in order to preserve system and video memory. Supported formats depend on the video plug-in although most .bmp and .png files should work.

Supported image formats

IMG_FORMAT_L8A8
IMG_FORMAT_A1R5G5B5
IMG_FORMAT_R8G8B8
IMG_FORMAT_A8R8G8B8