{"id":13420383,"url":"https://github.com/libgd/libgd","last_synced_at":"2025-05-14T02:09:51.291Z","repository":{"id":26223126,"uuid":"29669711","full_name":"libgd/libgd","owner":"libgd","description":"GD Graphics Library","archived":false,"fork":false,"pushed_at":"2025-02-21T19:27:07.000Z","size":26568,"stargazers_count":925,"open_issues_count":137,"forks_count":275,"subscribers_count":59,"default_branch":"master","last_synced_at":"2025-05-12T14:00:44.010Z","etag":null,"topics":["2d","avif","bmp","c","cross-platform","graphics","heic","image","image-processing","jpeg","linux","macos","png","processing","tiff","vector","webp","windows"],"latest_commit_sha":null,"homepage":"https://libgd.org/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libgd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-01-22T08:50:57.000Z","updated_at":"2025-05-10T04:28:38.000Z","dependencies_parsed_at":"2023-02-14T13:15:30.110Z","dependency_job_id":"8f6dd375-9209-48ba-acf1-45e1ddc69db8","html_url":"https://github.com/libgd/libgd","commit_stats":{"total_commits":2332,"total_committers":89,"mean_commits":"26.202247191011235","dds":0.733704974271012,"last_synced_commit":"1af15f6c35e413191a7a5b0379187c5c5f8db721"},"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libgd%2Flibgd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libgd%2Flibgd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libgd%2Flibgd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libgd%2Flibgd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libgd","download_url":"https://codeload.github.com/libgd/libgd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254053272,"owners_count":22006717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2d","avif","bmp","c","cross-platform","graphics","heic","image","image-processing","jpeg","linux","macos","png","processing","tiff","vector","webp","windows"],"created_at":"2024-07-30T22:01:32.501Z","updated_at":"2025-05-14T02:09:46.272Z","avatar_url":"https://github.com/libgd.png","language":"C","readme":"# GD Graphics (Draw) Library\n[![Build Status](https://scan.coverity.com/projects/3810/badge.svg)](https://scan.coverity.com/projects/libgd)\n[![Chat](https://badges.gitter.im/libgd/libgd.svg)](https://gitter.im/libgd/libgd)\n[![codecov.io](https://codecov.io/github/libgd/libgd/coverage.svg?branch=master)](https://codecov.io/github/libgd/libgd/)\n\nGD is an open source code library for the dynamic creation of images by\nprogrammers.\n\nGD is written in C, and \"wrappers\" are available for Perl, PHP and other\nlanguages. GD can read and write many different image formats. GD is commonly\nused to generate charts, graphics, thumbnails, and most anything else, on the\nfly. It is also useful to convert images to another format.\n\nThe most common applications of GD involve website development, although it\ncan be used with any standalone application!\n\nThe library was originally developed by Thomas Boutell and is now maintained\nby many contributors (see the [CONTRIBUTORS](CONTRIBUTORS) file).\n\nIf you like to contribute, report bugs, see [how to contribute document](CONTRIBUTING.md)\n\nFor security related issues, see [SECURITY.md](SECURITY.md).\n\nSupport available in\n[![Chat](https://badges.gitter.im/libgd/libgd.svg)](https://gitter.im/libgd/libgd)\nor using issues.\n\nWe also have a mailing list. To subscribe to any mailing list,\nsend an email to gd-devel-subscribe@lists.php.net.\nThen emails can be sent to gd-devel@lists.php.net.\n\n## Downloads/etc...\n\nPlease visit our [homepage](https://www.libgd.org/) for more details.\n\n## Supported Image Formats\n\nGD has support for:\n\n* [WebP](https://en.wikipedia.org/wiki/WebP)\n  via [libwebp](https://developers.google.com/speed/webp/)\n* [JPEG](https://en.wikipedia.org/wiki/JPEG)\n  via [IJG/libjpeg](http://www.ijg.org/)\n  or [libjpeg-turbo](http://libjpeg-turbo.virtualgl.org/)\n  * Does not include [JPEG 2000](https://en.wikipedia.org/wiki/JPEG_2000)\n* [PNG](https://en.wikipedia.org/wiki/Portable_Network_Graphics)\n  via [libpng](http://www.libpng.org/)\n* [AVIF](https://en.wikipedia.org/wiki/AV1#AV1_Image_File_Format_(AVIF))\n  via [libavif](https://github.com/AOMediaCodec/libavif)\n* [HEIF](https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format)\n  via [libheif](https://github.com/strukturag/libheif/)\n  * This includes [AVIF](https://en.wikipedia.org/wiki/AV1#AV1_Image_File_Format_%28AVIF%29)\n    read support if your system's `libheif` has AV1 decoding.\n* [TIFF](https://en.wikipedia.org/wiki/Tagged_Image_File_Format)\n  via [libtiff](http://www.libtiff.org/)\n* [BMP](https://en.wikipedia.org/wiki/BMP_file_format) (builtin)\n* [GIF](https://en.wikipedia.org/wiki/GIF) (builtin)\n* [TGA](https://en.wikipedia.org/wiki/Truevision_TGA) (builtin)\n* [WBMP](https://en.wikipedia.org/wiki/Wireless_Application_Protocol_Bitmap_Format)\n  (builtin)\n* [XPM](https://en.wikipedia.org/wiki/X_PixMap)\n  via [libXpm](http://xorg.freedesktop.org/)\n\nBesides that, GD depends on some external libraries, which are all optional\nand disabled by default:\n\n* [FreeType](https://freetype.org) for rendering fonts\n* [Fontconfig](https://fontconfig.org) for configuring and customizing font access\n* [libraqm](https://github.com/HOST-Oman/libraqm) for complex text layout\n* [libimagequant](https://pngquant.org/lib) for conversion of RGBA images\n  to 8-bit indexed-color images\n  * **NOTE** libimagequant is dual-licensed: GPLv3 and commercial license\n\n\n## Platforms supported\n\nCI means whether we have an automatic CI for this platform.\nIf someone has CI for these platforms or any other platforms not listed here\nand would like to add them to our automatic CI, please get in touch with us,\nit will be much appreciated!\n\n| Platform      | Support | CI |\n|---------------|:-------:|:--:|\n| Linux x64     | ✓       | ✓ |\n| Linux x86     | ✓       | ✗ |\n| Linux ARM64   | ✓       | ✗ |\n| Windows x86   | ✓       | ✓ |\n| Windows x64   | ✓       | ✓ |\n| Windows arm64 | ✓       | ✗ |\n| macOS arm64   | ✓       | ✓ |\n| macOS x64     | ✓       | ✗ |\n| macOS M1      | ✓       | ✗ |\n| S390          | ✓       | ✗ |\n\nIt is also known to work on almost all variations of *BSD, Solaris, etc.\nWe don't have CI nor environment to test them.\nHowever many progamming languages binding do test libgd on these platforms.\n\n## Compilers\n\nIt should compile with all C99 and C++ compliant compilers,\neither using CMake or the configure script.\n\nWe do have CI using:\n- GCC\n- CLang\n- Visual Studio\n- Xcode\n- MingW\n\n## Supported Versions\n\n- GD 2.3 (Branch GD-2.3) serie is in active support for bug fixes.\n  No new additions will be added.\n- GD 2.4 (master) is the active development branch. No release date yet.\n- GD 3.0 has been started, focusing on high quality 2D Vector drawing APIs\n  and full support of actual ARGB 32 bits/8bits or float.\n  It is not production ready yet\n","funding_links":[],"categories":["TODO scan for Android support in followings","Image Processing","Graphics","C","图形"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibgd%2Flibgd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibgd%2Flibgd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibgd%2Flibgd/lists"}