libvips is a fast image processing library with low memory needs.
http://jcupitt.github.io/libvips/
The luajit binding for libvips is now a proper rock and ought to be
easy to try out. Something like:
sudo apt-get install libvips42
luarocks install lua-vips
See the README here:
https://github.com/jcupitt/lua-vips
It has a mostly-complete test suite which it passes with no leaks. It
binds the whole of libvips, so you have access to all the libvips API:
http://jcupitt.github.io/libvips/API/current/
There's a benchmark here:
https://github.com/jcupitt/lua-vips-bench
Any comments or feedback would be very welcome.
John