.. _spkg_libgd: 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 ---------------- - https://libgd.github.io - Pierre Joye (http://blog.thepimp.net) - http://libgd.bitbucket.org/ 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: .. CODE-BLOCK:: bash $ sudo pacman -S gd conda: .. CODE-BLOCK:: bash $ conda install libgd cygwin: .. CODE-BLOCK:: bash $ apt-cyg install libgd-devel Debian/Ubuntu: .. CODE-BLOCK:: bash $ sudo apt-get install libgd-dev Fedora/Redhat/CentOS: .. CODE-BLOCK:: bash $ sudo yum install gd gd-devel freebsd: .. CODE-BLOCK:: bash $ sudo pkg install graphics/gd gentoo: .. CODE-BLOCK:: bash $ sudo emerge media-libs/gd homebrew: .. CODE-BLOCK:: bash $ brew install gd macports: install the following packages: gd2 nix: .. CODE-BLOCK:: bash $ nix-env --install gd opensuse: .. CODE-BLOCK:: bash $ sudo zypper install gd "pkgconfig(gdlib)" slackware: .. CODE-BLOCK:: bash $ sudo slackpkg install gd fontconfig libXpm libX11 libxcb libXau libXdmcp void: .. CODE-BLOCK:: bash $ 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.