From 69cfa7bed56c91b863f17bf4223edba185226887 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Tue, 24 Aug 2021 10:22:47 +0700 Subject: rewamped the codecs, make it more clear about which common formats we support and how, important ones first too --- README.md | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 0e22d80..35ed3eb 100644 --- a/README.md +++ b/README.md @@ -32,23 +32,29 @@ Please visit our [homepage](https://www.libgd.org/) for more details. ## Supported Image Formats -GD has builtin support for: +GD has support for: -* [BMP](https://en.wikipedia.org/wiki/BMP_file_format) -* [GIF](https://en.wikipedia.org/wiki/GIF) -* [TGA](https://en.wikipedia.org/wiki/Truevision_TGA) -* [WBMP](https://en.wikipedia.org/wiki/Wireless_Application_Protocol_Bitmap_Format) - -It also has optional support for more formats via external libraries: - -* [AVIF](https://en.wikipedia.org/wiki/AV1#AV1_Image_File_Format_(AVIF)) via [libavif](https://github.com/AOMediaCodec/libavif) -* [HEIF](https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format) via [libheif](https://github.com/strukturag/libheif/) - * This includes [AVIF](https://en.wikipedia.org/wiki/AV1#AV1_Image_File_Format_%28AVIF%29) read support if your system's `libheif` has AV1 decoding. +* [WebP](https://en.wikipedia.org/wiki/WebP) via [libwebp](https://developers.google.com/speed/webp/) * [JPEG](https://en.wikipedia.org/wiki/JPEG) via [IJG/libjpeg](http://www.ijg.org/) or [libjpeg-turbo](http://libjpeg-turbo.virtualgl.org/) * Does not include [JPEG 2000](https://en.wikipedia.org/wiki/JPEG_2000) * [PNG](https://en.wikipedia.org/wiki/Portable_Network_Graphics) via [libpng](http://www.libpng.org/) +* [AVIF](https://en.wikipedia.org/wiki/AV1#AV1_Image_File_Format_(AVIF)) via [libavif](https://github.com/AOMediaCodec/libavif) + * This includes [AVIF](https://en.wikipedia.org/wiki/AV1#AV1_Image_File_Format_%28AVIF%29) read support if your system's `libheif` has AV1 decoding. +* [HEIF](https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format) via [libheif](https://github.com/strukturag/libheif/) * [TIFF](https://en.wikipedia.org/wiki/Tagged_Image_File_Format) via [libtiff](http://www.libtiff.org/) -* [WebP](https://en.wikipedia.org/wiki/WebP) via [libwebp](https://developers.google.com/speed/webp/) +* [BMP](https://en.wikipedia.org/wiki/BMP_file_format) (builtin) +* [GIF](https://en.wikipedia.org/wiki/GIF) (builtin) +* [TGA](https://en.wikipedia.org/wiki/Truevision_TGA) (builtin) +* [WBMP](https://en.wikipedia.org/wiki/Wireless_Application_Protocol_Bitmap_Format) (builtin) + + + + + + + + + * [XPM](https://en.wikipedia.org/wiki/X_PixMap) via [libXpm](http://xorg.freedesktop.org/) Besides that, GD depends on some external libraries, which are all optional -- cgit v1.2.1