summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-29 16:35:59 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-29 16:35:59 -0500
commitfc14a8c1bb22542db00858a04495413f0c290001 (patch)
treeabf7ecc443be7f07e6cc096259693be3b7a494c3 /README.md
parent5277b6fb75c1b39fa2dc3e78178ce4ce34114e91 (diff)
downloadlibgd-fc14a8c1bb22542db00858a04495413f0c290001.tar.gz
README: document supported image formats
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 21 insertions, 3 deletions
diff --git a/README.md b/README.md
index f5160e0..d6e5c76 100644
--- a/README.md
+++ b/README.md
@@ -6,9 +6,9 @@ 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 creates PNG, JPEG, GIF, WebP, XPM, BMP images, among other
-formats. GD is commonly used to generate charts, graphics, thumbnails, and
-most anything else, on the fly.
+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!
@@ -20,3 +20,21 @@ umbrella of PHP.net.
## Downloads/etc...
Please visit our [homepage](http://www.libgd.org/) for more details.
+
+## Supported Image Formats
+
+GD has builtin 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:
+
+* [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/)
+* [TIFF](https://en.wikipedia.org/wiki/Tagged_Image_File_Format) via [libtiff](http://www.remotesensing.org/libtiff/)
+* [WebP](https://en.wikipedia.org/wiki/WebP) via [libwebp](https://developers.google.com/speed/webp/)
+* [XPM](https://en.wikipedia.org/wiki/X_PixMap) via [libXpm](http://xorg.freedesktop.org/)