1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

GD Library - The Basics of Drawing with PHP


1 of 7

What is the GD Library?
The GD library is used for dynamic image creation. From PHP we use with the GD library to create GIF, PNG or JPG images instantly from our code. This allows us to do things such as create charts on the fly, created an an anti-robot security image, create thumbnail images, or even build images from other images.

If you are unsure if you have GD library, you can run phpinfo() to check that GD Support is enabled. If you don't have it, you can download it for free.

This tutorial will cover the very basics of creating your first image. You should already have some PHP knowledge before you start.

  1. About.com
  2. Technology
  3. PHP / MySQL
  4. PHP Functions
  5. Drawing with PHP and GD Library - The Basics

©2014 About.com. All rights reserved.