loadImage abstract method

int loadImage()

Decodes image data from Lua stack position 2 into an Image and pushes a Promise of it. Returns 1 (promise pushed) or 0.

Implementation

int loadImage();