ittner / lua-gd Goto Github PK
View Code? Open in Web Editor NEWLua bindings to the LibGD
Home Page: http://ittner.github.com/lua-gd
License: Other
Lua bindings to the LibGD
Home Page: http://ittner.github.com/lua-gd
License: Other
According to http://ittner.github.io/lua-gd/manual.html#api.gifanim (and common sense), gd.DISPOSAL_RESTORE_PREVIUOUS should be called gd.DISPOSAL_RESTORE_PREVIOUS (even though I don't think that's been in used in any gif ever)
Is it possible to get a 64bit version of this library for windows?
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. Therefore there have been some tweaks introduced to install this package.
kuz/DeepMind-Atari-Deep-Q-Learner@8466031
The standard torch installation installs lua or luajit in some local directory and depends on luarocks to install dependencies. I think the rockspec plus Makefile could be modified to have an easier install via luarocks.
Alot of build errors are reported when trying to compile it in CentOS 6.8, lua and luajit are installed and working.
root@server [/]# lua
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
>
rt, I want to get the type of a image;
but I don't find the api
Maybe add a new api? Thanks~
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
There is no instructions on how to compile lua-gd after downloading. Please provide some.
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 },
#endif
+ #ifdef GD_PNG
{ "createFromPng", LgdImageCreateFromPng },
{ "createFromPngStr", LgdImageCreateFromPngPtr },
+ #endif
{ "createFromGd", LgdImageCreateFromGd },
{ "createFromGdStr", LgdImageCreateFromGdPtr },
Unable to install luagd via luarocks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.