Popularity
5.4
Stable
Activity
7.6
-
663
58
225

Code Quality Rank: L2
Programming language: C
License: GNU General Public License v3.0 or later
Tags: Image Processing    
Latest version: v2.3.2

GD alternatives and similar libraries

Based on the "Image Processing" category.
Alternatively, view GD alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of GD or a related project?

Add another 'Image Processing' Library

README

GD Graphics (Draw) Library

Build Status Chat codecov.io

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](CONTRIBUTORS) file) under the umbrella of PHP.net.

If you like to contribute, report bugs, see [how to contribute document](CONTRIBUTING.md)

For security related issues, please contact us at [email protected]

Support available in Chat or using issues.

We also have a mailing list. To subscribe to any mailing list, send an email to [email protected]. Then emails can be sent to [email protected].

Downloads/etc...

Please visit our homepage for more details.

Supported Image Formats

GD has support for:

Besides that, GD depends on some external libraries, which are all optional and disabled by default:

  • FreeType for rendering fonts
  • Fontconfig for configuring and customizing font access
  • libraqm for complex text layout
  • libimagequant for conversion of RGBA images to 8-bit indexed-color images
    • NOTE libimagequant is dual-licensed: GPLv3 and commercial license

Platforms supported

CI means whether we have an automatic CI for this platform. If someone has CI for these platforms or any other platforms not listed here and would like to add them to our automatic CI, please get in touch with us, it will much appreciated!

Platform Support CI
Linux x64
Linux x86
Linux ARM64
Windows x86
Windows x64
Windows arm64 x
MacOS x64
MacOS M1 x
S390 x

It is also known to work on almost all variations of *BSD, Solaris, etc. We don't have CI nor environment to test them. However many progamming languages binding do test libgd on these platforms.

Compilers

It should compile with all C99 and C++ compliant compilers, either using CMake or the configure script.

We do have CI using:

  • GCC
  • CLang
  • Visual Studio
  • Xcode
  • MingW


*Note that all licence references and agreements mentioned in the GD README section above are relevant to that project's source code only.