Image Processing in Ruby with GD: Exploring ruby-libgd v0.3.0 March 4, 2026 Image processing is usually associated with languages like Python or C++, but Ruby can also manipulate images efficiently thanks to bindings for native libraries. One of those libraries is libgd, a well-known C library used to dynamically generate and manipulate images such as … Continue reading Image Processing in Ruby with GD: Exploring ruby-libgd v0.3.0
Tag: ruby-libgd
Understanding Convolution Filters in Image Processing (and Adding Them to Ruby-LibGD v0.2.5)
Understanding Convolution Filters in Image Processing (and Adding Them to Ruby-LibGD v0.2.5) March 3, 2026 Today I implemented support for custom convolution filters in Ruby-LibGD, enabling the application of kernels such as blur, sharpen, and edge detection directly from Ruby. At first glance, this may look like just another image filter. In reality, convolution is … Continue reading Understanding Convolution Filters in Image Processing (and Adding Them to Ruby-LibGD v0.2.5)
A quick DEMO of Ruby-LibGD v0.2.4.
Not a tutorial, not a benchmark — just experimenting with 2D and 3D rendering in Ruby and confirming that the foundation is already mature and reliable. Links: https://rubygems.org/gems/ruby-libgd https://github.com/ggerman/ruby-libgd # frozen_string_literal: true require "gd" W = 1400 H = 500 TEXT = "Ruby-LibGD v0.2.4" FONT = "/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf" SIZE = 72 DEPTH = 32 img = … Continue reading A quick DEMO of Ruby-LibGD v0.2.4.


