The GD library | Search for a title, author or keyword | ||||||||
The GD library GD is a graphics library. It allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste, copy and resize from other images, and flood fills, and write out the result as a PNG or JPEG file. GD is not a paint program. If you are looking for a paint program, you are looking in the wrong place. If you are not a programmer, you are looking in the wrong place, unless you are installing a required library in order to run an application. 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 and GIF images, among other formats. GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly. While not restricted to use on the web, the most common applications of GD involve website development. The library was originally developped by Thomas Boutell and is now maintained by Pierre-A. Joye under the umbrella of PHP.net. To use GD, you will need an ANSI C compiler. All popular Windows 95 and NT C compilers are ANSI C compliant. Any full-ANSI-standard C compiler should be adequate. Most Unix users who do not already have gcc ( cc compiler ) should get it. gcc is free, ANSI compliant and a de facto industry standard. Ask your ISP why it is missing. To use GD, you also need the zlib compression library, and the libpng library. A variant of GD 2.x is included in PHP 4.3.0. It is also possible to patch PHP 4.2.3 for use with GD 2.0.33. GD can also be used from Perl, courtesy of Lincoln Stein's GD.pm library, which uses GD as the basis for a set of Perl 5.x classes. Highly recommended.
|
|||||||||
The GD library | Disclaimer: this link points to content provided by other sites. |