Go to file
Mike Frysinger 4690d1ceb6 gitignore: update Windows tools 2021-02-02 21:59:15 -05:00
VMS VMS/README.VMS: Add dropping support information (#614) 2020-03-26 23:43:03 +08:00
cmake Fixed #472: Adjusting CMakeLists.txt (#582) 2020-05-10 22:41:14 +08:00
config fix #303: gdlib.pc: use Requires instead of Libs (#537) 2020-06-18 14:55:32 +08:00
docs Add http://keepachangelog.com/ based changelog for 2.2.4 (MarkDown based) 2020-03-22 21:40:02 +08:00
examples Remove Git ident attributes 2018-06-27 02:04:37 +02:00
m4 Upgrade AX_REQUIRE_DEFINED macro file 2018-09-06 00:32:54 -04:00
src Fix copyright format problem 2021-02-01 22:39:33 -05:00
test Remove one more outstanding Makefile.am 2013-04-08 09:21:16 +02:00
tests tests/gdimageline/gdimageline_bug5: add im null judgement (#624) 2020-05-20 19:29:23 +08:00
travis travis/main.sh: fix indent error 2020-05-22 23:17:23 +08:00
windows Define HAVE_SYS_STAT_H in msys 2019-10-28 03:09:49 -04:00
.gitignore gitignore: update Windows tools 2021-02-02 21:59:15 -05:00
.travis.yml .travis.yml: close config warning and info (#642) 2020-05-28 14:58:44 +08:00
CHANGELOG.md release-2.3.1 (#668) 2021-01-30 15:16:05 +08:00
CMakeLists.txt fix #303: gdlib.pc: use Requires instead of Libs (#537) 2020-06-18 14:55:32 +08:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md 2020-03-22 21:40:02 +08:00
CONTRIBUTING.md clean up trailing whitespace/newlines 2018-06-21 22:47:42 -04:00
CONTRIBUTORS Add myself to CONTRIBUTORS 2019-12-22 22:47:52 +08:00
COPYING clean up trailing whitespace/newlines 2018-06-21 22:47:42 -04:00
Makefile.am Makefile.am: Add CHANGELOG.md CONTRIBUTING.md 2020-03-22 21:40:02 +08:00
README.md README.md: add some libraries info (#631) 2020-04-29 12:00:49 -04:00
appveyor.yml convert all files to native line encodings 2018-06-21 21:44:54 -04:00
bootstrap.sh \b is not support in MacOS sed 2019-10-09 23:42:08 -07:00
configure.ac webp: support pkg-config file 2021-01-20 15:17:14 -05:00

README.md

GD Graphics (Draw) Library

Build Status 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

Downloads/etc...

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:

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