Saturday, July 4th, 2009

Tag Archives: gd library

How to create mirror images using GD

This class is useful to create mirror images using the GD Library. You just need to set the source path of the image (URL or local path) and the folder where the new image should be saved. If the latter is not specified the image will output without being saved. This is useful if you [...]

Read more

How to download a remote image using GD or cURL

This a PHP Class useful if you need to download images from a remote location.

Read more

How to add transparency to an image using GD

Do you want to make your images transparent using GD? Check this PHP Class.

Read more

Cropping a rectangle image to square using GD

This is a PHP Class that crops images (rectangles) to square using the GD library.

Read more

Resize an image (on the fly) & keep its aspect ratio using GD

This is a PHP Class useful if you need to resize images keeping their aspect ratio, using the GD Library.

Read more

How to center a text on an image using GD

This is a snippet which centers a text on an image using the GD Library.

Read more