lua-users home
lua-l archive

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


2012/8/30 Ilja Razinkov <razinkov@gmail.com>:
> Just hit same problem and used  http://ittner.github.com/lua-gd/
> works perfectly well, after installing needed packages and recompilation,
> even on server-side without x11 :)
> API is same as GD in PHP (obviously)

I looked at it a little ove a year ago.  It doesn't do what I want.

> I don't mean bindings to a C library that forces you to think in C
> while writing Lua, I mean a module with image and colormap
> objects and a small number of functions.

It's a binding, and it has numerous functions like this:

gdImage:createPaletteFromTrueColor(dither, colorsWanted)