• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

VMS/H30-Jan-2021-1,4031,236

cmake/H30-Jan-2021-998868

config/H03-May-2022-18,07613,608

docs/H03-May-2022-1,8961,541

examples/H03-May-2022-1,336946

m4/H30-Jan-2021-9,9488,989

src/H03-May-2022-59,70043,807

test/H03-May-2022-

tests/H03-May-2022-17,14114,166

windows/H30-Jan-2021-838654

CHANGELOG.mdH A D30-Jan-20216.4 KiB152127

CONTRIBUTING.mdH A D30-Jan-20216.9 KiB13991

CONTRIBUTORSH A D30-Jan-2021349 2928

COPYINGH A D30-Jan-20212.9 KiB7355

Makefile.amH A D30-Jan-2021236 75

Makefile.inH A D03-May-202226 KiB840746

README.mdH A D30-Jan-20212.7 KiB5740

aclocal.m4H A D30-Jan-2021106.7 KiB2,8962,720

bootstrap.shH A D30-Jan-2021832 2816

configureH A D30-Jan-2021573.7 KiB19,51816,535

configure.acH A D30-Jan-20219.9 KiB333289

README.md

1# GD Graphics (Draw) Library
2
3[![Build Status](https://travis-ci.org/libgd/libgd.svg?branch=master)](https://travis-ci.org/libgd/libgd)
4[![Build Status](https://scan.coverity.com/projects/3810/badge.svg)](https://scan.coverity.com/projects/libgd)
5[![Chat](https://badges.gitter.im/libgd/libgd.svg)](https://gitter.im/libgd/libgd)
6[![codecov.io](https://codecov.io/github/libgd/libgd/coverage.svg?branch=master)](https://codecov.io/github/libgd/libgd/)
7
8GD is an open source code library for the dynamic creation of images by
9programmers.
10
11GD is written in C, and "wrappers" are available for Perl, PHP and other
12languages. GD can read and write many different image formats. GD is commonly
13used to generate charts, graphics, thumbnails, and most anything else, on the
14fly.
15
16The most common applications of GD involve website development, although it
17can be used with any standalone application!
18
19The library was originally developed by Thomas Boutell and is now maintained
20by many contributors (see the [CONTRIBUTORS](CONTRIBUTORS) file) under the
21umbrella of PHP.net.
22
23If you like to contribute, report bugs, see [how to contribute document](CONTRIBUTING.md)
24
25For security related issues, please contact us at security@libgd.org
26
27## Downloads/etc...
28
29Please visit our [homepage](http://www.libgd.org/) for more details.
30
31## Supported Image Formats
32
33GD has builtin support for:
34
35* [BMP](https://en.wikipedia.org/wiki/BMP_file_format)
36* [GIF](https://en.wikipedia.org/wiki/GIF)
37* [TGA](https://en.wikipedia.org/wiki/Truevision_TGA)
38* [WBMP](https://en.wikipedia.org/wiki/Wireless_Application_Protocol_Bitmap_Format)
39
40It also has optional support for more formats via external libraries:
41
42* [JPEG](https://en.wikipedia.org/wiki/JPEG) via [IJG/libjpeg](http://www.ijg.org/) or [libjpeg-turbo](http://libjpeg-turbo.virtualgl.org/)
43  * Does not include [JPEG 2000](https://en.wikipedia.org/wiki/JPEG_2000)
44* [PNG](https://en.wikipedia.org/wiki/Portable_Network_Graphics) via [libpng](http://www.libpng.org/)
45* [TIFF](https://en.wikipedia.org/wiki/Tagged_Image_File_Format) via [libtiff](http://www.libtiff.org/)
46* [WebP](https://en.wikipedia.org/wiki/WebP) via [libwebp](https://developers.google.com/speed/webp/)
47* [XPM](https://en.wikipedia.org/wiki/X_PixMap) via [libXpm](http://xorg.freedesktop.org/)
48
49Besides that, GD depends on some external libraries, which are all optional
50and disabled by default:
51
52* [FreeType](https://freetype.org) for rendering fonts
53* [Fontconfig](https://fontconfig.org) for configuring and customizing font access
54* [libraqm](https://github.com/HOST-Oman/libraqm) for complex text layout
55* [libimagequant](https://pngquant.org/lib) for conversion of RGBA images to 8-bit indexed-color images
56  * **NOTE** libimagequant is dual-licensed: GPLv3 and commercial license
57