GD Graphics Library
C CMake C++ M4 HTML Shell Other
Latest commit 00bbb69 Feb 23, 2017 @vapier vapier tests: add more checks for libpng (and other deps)
This fixes #382.
Failed to load latest commit information.
VMS configure/cmake: unify header checks and config.h generation May 18, 2016
cmake Fix CMake configuration for fontconfig Aug 27, 2016
config cmake: add soname info to Nov 10, 2016
docs Test and document some filter functions Sep 27, 2016
examples Make BUILD_SHARED_LIBS configurable Aug 27, 2015
m4 m4: pull in latest ax_pthread.m4 #292 Sep 1, 2016
netware Updated Netware makefile Nov 8, 2013
src fix some unused variable errors when built w/out png Feb 15, 2017
test Remove one more outstanding Apr 8, 2013
tests tests: add more checks for libpng (and other deps) Feb 23, 2017
travis Fix the travis git status check Aug 14, 2016
windows Add test summary for Windows Jan 25, 2017
.gitignore gdlib-config: punt! Oct 6, 2016
.travis.yml travis: rework coverity scan Jun 24, 2016
CMakeLists.txt cmake: add soname info to Nov 10, 2016 CONTRIBUTING: fill out the style section Oct 9, 2016
CONTRIBUTORS Add myself to CONTRIBUTORS Jul 19, 2016
COPYING Resolve #282: COPYING vs. docs/naturaldocs/license.txt Aug 4, 2016
ChangeLog ChangeLog: update for gd-2.2.1 May 20, 2016 cmake: add distclean target Jul 21, 2016
NEWS fixed FS#100 Jan 19, 2010 Update Jul 19, 2016
appveyor.yml squash test commits; add deps from nuget; fix bindings Oct 29, 2014 travis: convert OS X build to common autoconf+cmake logic May 21, 2016 cmake: add soname info to Nov 10, 2016

GD Graphics (Draw) Library

Build Status Build Status Chat

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 can read and write many different image formats. GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly.

The most common applications of GD involve website development, although it can be used with any standalone application!

The library was originally developed by Thomas Boutell and is now maintained by many contributors (see the CONTRIBUTORS file) under the umbrella of

If you like to contribute, report bugs, see how to contribute document

For security related issues, please contact us at


Please visit our homepage for more details.

Supported Image Formats

GD has builtin support for:

It also has optional support for more formats via external libraries: