![]() |
Functions | |
int | imlua_open (lua_State *L) |
void | imlua_pushimage (lua_State *L, imImage *image) |
imImage * | imlua_checkimage (lua_State *L, int param) |
int | imlua_open_capture (lua_State *L) |
int | imlua_open_process (lua_State *L) |
int | imlua_open_fftw (lua_State *L) |
imXxx -> im.Xxx IM_XXX -> im.XXX imFileXXX(ifile,... -> ifile:XXX(... imImageXXX(image,... -> image:XXX(...
int imlua_open | ( | lua_State * | L | ) |
Initializes the Lua binding of the main IM library.
Returns 1 (leaves the "im" table on the top of the stack). You must link the application with the "imlua51" library.
void imlua_pushimage | ( | lua_State * | L, | |
imImage * | image | |||
) |
Pushes an image as a metatable on the stack.
imImage* imlua_checkimage | ( | lua_State * | L, | |
int | param | |||
) |
Gets an image as a metatable from the stack, checks for correct type.
int imlua_open_capture | ( | lua_State * | L | ) |
Initializes the Lua binding of the capture library.
Returns 1 (leaves the "im" table on the top of the stack). You must link the application with the "imlua_capture51" library.
int imlua_open_process | ( | lua_State * | L | ) |
Initializes the Lua binding of the process library.
Returns 1 (leaves the "im" table on the top of the stack). You must link the application with the "imlua_process51" library.
int imlua_open_fftw | ( | lua_State * | L | ) |
Initializes the Lua binding of the fourier transform library.
Returns 1 (leaves the "im" table on the top of the stack). You must link the application with the "imlua_fftw51" library.