decodeImage abstract method

int decodeImage()

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

Implementation

int decodeImage();