libgd: Dynamic graphics generation tool

Description

GD is an open source code library for the dynamic creation of images by programmers. GD is written in C, and “wrappers” are available for Perl, PHP and other languages. GD creates PNG, JPEG, GIF, WebP, XPM, BMP images, among other formats. GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly. While not restricted to use on the web, the most common applications of GD involve website development.

License

  • Custom (BSD-ish)

Upstream Contact

Dependencies

  • libpng

  • freetype

  • iconv

Special Update/Build Instructions

See spkg-src script.

Type

standard

Version Information

package-version.txt:

2.3.2

Equivalent System Packages

alpine: install the following packages: gd

arch:

$ sudo pacman -S  gd

conda:

$ conda install libgd

cygwin:

$ apt-cyg install libgd-devel

Debian/Ubuntu:

$ sudo apt-get install  libgd-dev

Fedora/Redhat/CentOS:

$ sudo yum install  gd gd-devel

freebsd:

$ sudo pkg install graphics/gd

gentoo:

$ sudo emerge media-libs/gd

homebrew:

$ brew install gd

macports: install the following packages: gd2

nix:

$ nix-env --install gd

opensuse:

$ sudo zypper install gd "pkgconfig(gdlib)"

slackware:

$ sudo slackpkg install gd fontconfig libXpm libX11 libxcb libXau libXdmcp

void:

$ sudo xbps-install  gd-devel

See https://repology.org/project/gd/versions

If the system package is installed, ./configure will check whether it can be used.