Login   Register  
PHP Classes
elePHPant
Icontem

GD Magic: Apply effects on images using only GD

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-12-24 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,616 This week: 1All time: 2,224 This week: 1,521Up
Version License PHP version Categories  
gdmagic 1.0GNU General Public Lice...3.0Graphics
Description Author  

This class can be used to apply effects on images using only the GD image extension.

It takes an handle of a previous loaded or created image with the GD extension and can apply several types of effects using only functions of the GD library.

Currently it can draw a gradient stripe of given colors, replace the color of points with a given color, convert the color of points to gray scale tones, invert the colors of the points, and perform several other effects like blur, edge detect and emboss.

Innovation Award  
PHP Programming Innovation award nominee
January 2009
Number 3


Prize: One license of ScriptCase Enterprise edition
Image manipulation is very popular in PHP thanks to the GD library extension.

More sophisticated image manipulation functions can be applied using the ImageMagick extension. However, this extension is not available in all PHP installations.

This class can perform several types of image effects that the ImageMagick can perform, except that it uses only the GD extension functions, so the ImageMagick extension is not necessary.

Manuel Lemos
Picture of De Rosa Luigi
Name: De Rosa Luigi is available for providing paid consulting. Contact De Rosa Luigi .
Classes: 8 packages by
Country: Italy Italy
Age: 21
All time rank: 2297 in Italy Italy
Week rank: 94 Up6 in Italy Italy Up
Innovation award
Innovation award
Nominee: 3x

Screenshots  
  • Replace
  • verical-gradient.png
  • negative.png
  • horizonta-gradient.png
  • edge
  • greyscale.png
  • blur.png
  Files folder image Files  
File Role Description
Plain text file blur.php Example Blur effect on php logo
Plain text file edge.php Example Edge detect example of php logo.
Plain text file GDMagic.php Class Class
Plain text file gradient-horizontal.php Example Example of horizontal gradient
Plain text file gradient-vertical.php Example Example of vertical gradient
Plain text file greyscale.php Example Greyscale effect example on php logo
Plain text file negative.php Example Negative effect example on php logo
Plain text file replacecolor.php Example Replace color example on php logo

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,616All time:2,224
 This week:1This week:1,521Up
 User Comments (1)  
 
Good
5 years ago (ste)
70%StarStarStarStar