Go to file
Mike Frysinger 7b0d4198f2 configure: use m4_tolower helper
This is new in autoconf-2.69 and lets us kill off some boilerplate
in our various library tests.
2022-08-28 19:09:57 -04:00
.github Some fixes for MINGW (#828) 2022-04-15 15:34:24 +07:00
cmake Some fixes for MINGW (#828) 2022-04-15 15:34:24 +07:00
config use current macOS naming style consistently 2021-10-30 13:49:21 -04:00
docs use current macOS naming style consistently 2021-10-30 13:49:21 -04:00
examples Fix tests based on coverity reports (#819) 2022-02-01 15:09:01 +07:00
m4 Upgrade AX_REQUIRE_DEFINED macro file 2018-09-06 00:32:54 -04:00
src Fix deprecared function prototypes 2022-08-23 08:59:29 -07:00
suppression Merge from 2.3 2021-09-11 23:38:22 +07:00
test Remove one more outstanding Makefile.am 2013-04-08 09:21:16 +02:00
tests Some fixes for MINGW (#828) 2022-04-15 15:34:24 +07:00
windows use https://libgd.org 2021-07-05 23:59:35 -04:00
.gitattributes add them too and enforce lf, so I don't mess it up again 2021-09-11 11:41:03 +07:00
.gitignore gitignore: update Windows tools 2021-02-02 21:59:15 -05:00
CHANGELOG.md update changelog 2022-02-07 13:03:33 +07:00
CMakeLists.txt Some fixes for MINGW (#828) 2022-04-15 15:34:24 +07:00
CODE_OF_CONDUCT.md Update email 2021-07-16 18:15:56 +07:00
CONTRIBUTING.md use current macOS naming style consistently 2021-10-30 13:49:21 -04:00
CONTRIBUTORS AVIF support (#671) 2021-03-03 21:35:56 -05:00
COPYING Just make it easier for the doc 2021-08-20 11:20:16 +07:00
Makefile.am drop support for VMS #453 2021-04-24 23:30:42 -04:00
README.md Update README.md 2022-02-25 11:34:51 +07:00
SECURITY.md Create SECURITY.md (#775) 2022-01-23 13:31:55 +07:00
bootstrap.sh use current macOS naming style consistently 2021-10-30 13:49:21 -04:00
configure.ac configure: use m4_tolower helper 2022-08-28 19:09:57 -04:00

README.md

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

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

For security related issues, please contact us at pierre@php.net

Support available in Chat or using issues.

We also have a mailing list. To subscribe to any mailing list, send an email to gd-devel-subscribe@lists.php.net. Then emails can be sent to gd-devel@lists.php.net.

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

Supported Versions

  • GD 2.3 (Branch GD-2.3) serie is in active support for bug fixes. No new additions will be added.
  • GD 2.4 (master) is the active development branch. No release date yet.
  • GD 3.0 has been started, focusing on high quality 2D Vector drawing APIs and full support of actual ARGB 32 bits/8bits or float. It is not production ready yet