ruby-libgd

Ruby can create images again

ruby-libgd is a modern native Ruby binding to the GD Graphics Library β€” a fast, embeddable raster engine for charts, dashboards, GIS, and scientific graphics.

GitHub RubyGems Read the story

Connect

Visual Showcase

Why ruby-libgd?

Ruby lost its native graphics layer. ImageMagick is slow, fragile, and unsuitable for server-side rendering, map tiles, and dashboards.

ruby-libgd brings back a true raster engine: no external processes, no shelling out, full pixel control inside Ruby.

Install

gem install ruby-libgd
apt install -y libgd-dev pkg-config

Example Render