- Notifications
You must be signed in to change notification settings - Fork273
libgd/libgd
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
GD is an open source code library for the dynamic creation of images byprogrammers.
GD is written in C, and "wrappers" are available for Perl, PHP and otherlanguages. GD can read and write many different image formats. GD is commonlyused to generate charts, graphics, thumbnails, and most anything else, on thefly. It is also useful to convert images to another format.
The most common applications of GD involve website development, although itcan be used with any standalone application!
The library was originally developed by Thomas Boutell and is now maintainedby many contributors (see theCONTRIBUTORS file).
If you like to contribute, report bugs, seehow to contribute document
For security related issues, seeSECURITY.md.
Support available inor using issues.
We also have a mailing list. To subscribe to any mailing list,send an email togd-devel-subscribe@lists.php.net.Then emails can be sent togd-devel@lists.php.net.
Please visit ourhomepage for more details.
GD has support for:
- WebPvialibwebp
- JPEGviaIJG/libjpegorlibjpeg-turbo
- Does not includeJPEG 2000
- PNGvialibpng
- AVIFvialibavif
- HEIFvialibheif
- This includesAVIFread support if your system's
libheif
has AV1 decoding.
- This includesAVIFread support if your system's
- TIFFvialibtiff
- BMP (builtin)
- GIF (builtin)
- TGA (builtin)
- WBMP(builtin)
- XPMvialibXpm
Besides that, GD depends on some external libraries, which are all optionaland disabled by default:
- FreeType for rendering fonts
- Fontconfig for configuring and customizing font access
- libraqm for complex text layout
- libimagequant for conversion of RGBA imagesto 8-bit indexed-color images
- NOTE libimagequant is dual-licensed: GPLv3 and commercial license
CI means whether we have an automatic CI for this platform.If someone has CI for these platforms or any other platforms not listed hereand would like to add them to our automatic CI, please get in touch with us,it will be much appreciated!
Platform | Support | CI |
---|---|---|
Linux x64 | ✓ | ✓ |
Linux x86 | ✓ | ✗ |
Linux ARM64 | ✓ | ✗ |
Windows x86 | ✓ | ✓ |
Windows x64 | ✓ | ✓ |
Windows arm64 | ✓ | ✗ |
macOS arm64 | ✓ | ✓ |
macOS x64 | ✓ | ✗ |
macOS M1 | ✓ | ✗ |
S390 | ✓ | ✗ |
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.
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
- 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 APIsand full support of actual ARGB 32 bits/8bits or float.It is not production ready yet
About
GD Graphics Library