lua-gd icon indicating copy to clipboard operation
lua-gd copied to clipboard

Lua bindings to the LibGD

Results 9 lua-gd issues
Sort by recently updated
recently updated
newest added

Compile fail when library builded without PNG support. Small patch fix this: ``` @@ -2168,8 +2168,10 @@ static const luaL_Reg LgdFunctions[] = { "createFromGif", LgdImageCreateFromGif }, { "createFromGifStr", LgdImageCreateFromGifPtr },...

Is it possible to get a 64bit version of this library for windows?

There is no instructions on how to compile lua-gd after downloading. Please provide some.

open file in binary mode or get a wrong file on windows

If GD_PNG is false, neither LgdImageCreateFromPng nor LgdImageCreateFromPngPtr would be implemented. See the implementation in https://github.com/ittner/lua-gd/blob/master/luagd.c#L417 We should avoid declaring them too.

ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [gd.so] Error 1

With this patch some information is taken from the luarocks environment for the build and install process - lua binary (lua, lua5.1, luajit ...) - lua include path - library...

Hi, your code is used in an example for the machine learning environment torch. However, your installation method expects lua5.1 in a default place and the pkg-config to be there....

If stringFT() fails, return the error message from gdImageStringFT(), which is useful to diagnose and fix the problem. There are more functions where this would be helpful, but this one...