Welcome to PHPGD.com

PHPGD.com is a resource for anyone interested in creating graphics and graphics applications using the programming language PHP with the GD or GD2 image library. PHP's GD library is based upon the original GD library by Thomas Boutell.

All content available on PHPGD.com is licensed under the Creative Commons 2.0 Attribution agreement. In general you're welcome to reuse any of the code here in your own scripts (commercial or otherwise), but please attribute it to the author. External scripts linked from PHPGD.com may be licenced differently.

Important links


Latest News

PHPGD.com goes live
Aiming to be the number one PHP GD script resource on the internet, phpgd.com is now live. Get in touch with the phpgd.com team at chris@phpgd.com.
Latest Articles

Black And White Conversion by Chris Neale.
Converting to black and white, or greyscale, isn't as similar as it seems. There are several different options to choose from.

Starting Out With GD by Chris Neale.
An introductory run through of the basics of PHP GD programming.

Latest Scripts

Thumbnail Generator Class by Chris Neale.
A base class for generating thumbnail images.

Thumbnail Clipped Corners by Chris Neale.
Extension to the thumbnail generator base class to add rounded corners when a thumbnail is generated.

Fractal Fern Art by Chris Neale.
Fractal images are made using a mathmatical function to derive the points at which to draw a point. In this script the function creates a series of branching li..