Jump to content

GD Graphics Library

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Eurleif (talk | contribs) at 05:24, 28 April 2004 (Reasonably detailed stub. Still wondering if I missed an existing article, hard to believe no one has written one.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

The GD Graphics Library is an library for dynamically manipulating images. Its native programming language is ANSI C, but it has interfaces for many other programming languages. It can create JPEGs, PNGs, and WBMPs. Although GD doesn't create GIFs because of patent issues, it can read them.

GD can create images composed of lines, arcs, text (using program-selected fonts), other images, and multiple colors. Version 2.0 adds support for truecolor images, alpha channels, resampling (for smooth resizing of truecolor images), and many other features.

GD supports numerous programming languages including C, PHP, Perl, O'Caml, Tcl, Pascal, and REXX. There is also a tool called fly which allows access to GD from any language through a command-line program.