im.lua

\file \brief IM Lua 5 Binding

See Copyright Notice in im_lib.h

Members

Functions

imlua_checkimage
imImage* imlua_checkimage(lua_State* L, int param)

Gets an image as a metatable from the stack, checks for correct type. * \ingroup imlua

imlua_close
int imlua_close(lua_State* L)

Calls \ref imFormatRemoveAll to release internal memory. * Also available in Lua as "im.Close()". \ingroup imlua

imlua_open
void imlua_open()

\defgroup imlua ImLua 5 Binding Reference * \par * Binding for the Lua 5 scripting language. \n * Lua 5.1 Copyright (C) 1994-2005 Lua.org, PUC-Rio \n * R. Ierusalimschy, L. H. de Figueiredo & W. Celes \n * http://www.lua.org * \par * See \ref imlua.h * \ingroup util

imlua_open
int imlua_open(lua_State* L)

Initializes the Lua binding of the main IM library. \n * Returns 1 (leaves the im table on the top of the stack). * You must link the application with the "imlua51" library. * \ingroup imlua

imlua_open_capture
int imlua_open_capture(lua_State* L)

Initializes the Lua binding of the capture library. \n * Returns 1 (leaves the im table on the top of the stack). * You must link the application with the "imlua_capture51" library. * \ingroup imlua

imlua_open_fftw
int imlua_open_fftw(lua_State* L)

Initializes the Lua binding of the fourier transform library. \n * Returns 1 (leaves the im table on the top of the stack). * You must link the application with the "imlua_fftw51" library. * \ingroup imlua

imlua_open_process
int imlua_open_process(lua_State* L)

Initializes the Lua binding of the process library. \n * Returns 1 (leaves the im table on the top of the stack). * You must link the application with the "imlua_process51" library. * \ingroup imlua

imlua_pushimage
void imlua_pushimage(lua_State* L, imImage* image)

Pushes an image as a metatable on the stack. * \ingroup imlua

Structs

lua_State
struct lua_State
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta