LuaRocks.org had a security incident in September 2026. Read the incident report.

lua-resty-gd

Lua FFI binding to libgd (GD Graphics Library) for OpenResty/LuaJIT

$ luarocks install lua-resty-gd

lua-resty-gd is a Lua FFI binding to libgd, the GD Graphics Library.
It provides image creation, manipulation, and output functions for
PNG, JPEG, GIF, WebP, TIFF, BMP, GD, GD2, WBMP, HEIF, AVIF, and TGA
formats. Compatible with the lua-gd API and runs on OpenResty/LuaJIT.

Requires libgd 2.3.x installed on the system.

Versions

2.3.3.4-1142 days ago0 downloads
2.3.3.3-1152 days ago(revision: 2)0 downloads
2.3.3.2-1153 days ago(revision: 2)0 downloads

Dependencies

lua >= 5.1

Dependency for

lua-resty-captcha

Manifests