PHP Classes

GD Image Manipulation: Manipulate images using the GD extension

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 1,312 All time: 2,942 This week: 455Up
Version License PHP version Categories
gdimagemanipulation 1.0GNU Lesser Genera...5.0HTML, PHP 5, Graphics


This class can be used to manipulate images using the GD extension.

It can open image files in GIF, JPEG or PNG format and perform several types of operations.

Currently it can generate HTML tags to display the image, resize the image to fit a given width or height, rotate or flip the image horizontally or vertically, apply color effects like sepia, colorize, negate, grayscale, brightness adjust, contrast adjust, edge detect, emboss, blur, smooth, etc..

The processed image can be saved to a given file in different formats.

Picture of Maximilian Becker
Name: Maximilian Becker <contact>
Classes: 1 package by
Country: Germany Germany
Age: 47
All time rank: 2006126 in Germany Germany
Week rank: 307 Up15 in Germany Germany Up

  Files folder image Files  
File Role Description
Plain text file GDImageManipulation.class.php Class Class source
Plain text file test.php Example Firefox test file with explanatory source.
Accessible without login Image file 300.png Photo Test image for test.php
Plain text file example.php Example Example
Accessible without login Image file 300.jpg Output Generated file from example.php

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,942
This week:455Up
User Ratings User Comments (2)
 All time
Hello, Very interesting class, great simplification of Photo...
15 years ago (Frédéric Thizy)
This is VERY cool.
15 years ago (F Philip DeGeorge)