Go to file
Pierre Joye efffd21c36 Merge from 2.3 2021-09-11 23:38:22 +07:00
.github cleanup Windows CRLF line endlings 2021-09-11 12:48:02 -04:00
cmake cleanup Windows CRLF line endlings 2021-09-11 12:48:02 -04:00
config getver: tweak awk for macOS 2021-04-24 23:46:25 -04:00
docs cleanup Windows CRLF line endlings 2021-09-11 12:48:02 -04:00
examples Add image scale example 2021-08-16 13:47:59 +07:00
m4 Upgrade AX_REQUIRE_DEFINED macro file 2018-09-06 00:32:54 -04:00
src Merge pull request #755 from libgd/bug/750 2021-09-08 10:08:12 +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 Merge from 2.3 2021-09-11 23:38:22 +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 release 2.3.2 2021-03-06 14:16:01 -05:00
CMakeLists.txt generate and use config.h from/to build dir (github user LRFLEW) 2021-09-10 05:08:53 +07:00
CODE_OF_CONDUCT.md Update email 2021-07-16 18:15:56 +07:00
CONTRIBUTING.md small additions and remove old things 2021-09-04 18:28:54 +07: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 Fix unicode symbols 2021-09-04 19:20:51 +07:00
bootstrap.sh bootstrap: tweak sed script to try and make it pass on macOS 2021-02-20 03:28:06 -05:00
configure.ac Merge pull request #698 from adamsilverstein/webp-lossless 2021-07-23 23:30:27 +02: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 security@libgd.org

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