lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, 12 Aug 2011 11:43:35 -0300, Antonio Scuri wrote:
The IM pre-compiled binary uses Lua byte code to embedded Lua source
into the library.

  To use IM in LuaJIT some libraries must be recompiled without the
flag IMLUA_USELOH. Just comment the line:

DEFINES = IMLUA_USELOH

  In the following makefiles:

imlua5.mak
imlua_process5.mak
imlua_fftw5.mak

Then you will have to include in your distribution the following files:

im_image.lua
im_convert.lua
im_process.lua
im_fftw.lua

Thanks, this worked. I managed to make some code 4 times faster by switching from imlib2 to IM for image loading (because the Lua API is cache-friendly)
so thanks :)

--
Pierre 'catwell' Chapuis