giftogd2

GD command line tools and example code

Install

All systems
curl cmd.cat/giftogd2.sh
Debian Debian
apt-get install libgd-tools
Ubuntu
apt-get install libgd-tools
Alpine
apk add gd
Arch Arch Linux
pacman -S gd
image/svg+xml Kali Linux
apt-get install libgd-tools
CentOS
yum install gd-progs
Fedora
dnf install gd-progs
Windows (WSL2)
sudo apt-get update sudo apt-get install libgd-tools
OS X
brew install gd
Raspbian
apt-get install libgd-tools
Docker
docker run cmd.cat/giftogd2 giftogd2 powered by Commando

libgd-tools

GD command line tools and example code

GD is a graphics library. It allows your code to quickly draw images complete with lines, arcs, text, multiple colours, cut and paste from other images, flood fills, and write out the result as a PNG file. This is particularly useful in World Wide Web applications, where PNG is one of the formats accepted for inline images by most browsers. This is some simple command line tools and example code that use the GD graphics library.

gd-progs

Utility programs that use libgd

gd

The gd graphics library allows your code to quickly draw images

complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and to write out the result as a PNG or JPEG file. This is particularly useful in Web applications, where PNG and JPEG are two of the formats accepted for inline images by most browsers. Note that gd is not a paint program.