image processing module for Lua