GD Graphics Library

GD Graphics Library
DeveloperThomas Boutell
Initial release1994; 32 years ago (1994)
Stable release
2.3.3 Edit this on Wikidata / 12 September 2021; 4 years ago (12 September 2021)[1]
Written inC
Operating systemCross-platform
TypeGraphics library
LicenseBSD-like license
Websitelibgd.github.io
Repositoryhttps://github.com/libgd/libgd

The GD Graphics Library is a graphics software library for dynamically manipulating images. It can create AVIFs, GIFs, JPEGs, PNGs, WebPs and WBMPs. The images can be composed of lines, arcs, text (using program-selected fonts), other images, and multiple colors, supporting truecolor images, alpha channels, resampling, and many other features.

History

The software was developed in 1994 by Thomas Boutell and others.

GD originally stood for "GIF Draw". However, since the revoking of the Unisys license, it has informally stood for "Graphics Draw".

Support for drawing GIFs was dropped in 1999 when Unisys revoked the royalty-free license granted to non-commercial software projects for the LZW compression method used by GIFs. When the Unisys patent expired worldwide on July 7, 2004, GIF support was subsequently re-enabled.

Version 2.0 added support for truecolor images, alpha channels, resampling (for smooth resizing of truecolor images), and many other features.

Features

The "Fly" command line interpreter allows for image creation ("on the fly") using GD. GD scripts can thus be written in potentially any language and run using this tool.[2]

Its native programming language is ANSI C, but it has interfaces for many other programming languages. GD supports numerous programming languages including C, PHP, Perl, Python, OCaml, Tcl, Lua, Pascal, GNU Octave, Rexx, Ruby and Go. GD is extensively used with PHP, where a modified version supporting additional features is included by default as of PHP 4.3 and was an option before that. As of PHP 5.3, a system version of GD may be used as well, to get the additional features that were previously available only to the bundled version of GD.

See also

  • GDAL – Translator library for raster and vector geospatial data formats
  • GraphicsMagick – Free and open-source image manipulation software
  • ImageMagick – Free and open-source image manipulation software
  • Netpbm – Toolkit for manipulation of images
  • Python Imaging Library – Library for the Python programming language

References

  1. ^ "LibGD releases". GitHub.
  2. ^ Gleeson, Martin (1999-01-15). "fly: create images on the fly". Archived from the original on 2000-09-03.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.