PHP Classes
elePHPant
Icontem

GD2 Imaging: Deskew and apply other advanced image effects

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (30)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2012-06-21 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,470 This week: 2All time: 2,576 This week: 591Up
Version License PHP version Categories
gd2-imaging 1.7.4GNU Lesser Genera...5.2PHP 5, Graphics
Description Author

This class can apply several types of advanced image processing effects. Currently it can:

* Use the Hough transform to detect skew angles and deskew an image
* Detect the background color of an image
* Perform image quantization basic text recognition (OCR) in an image to eventually read text used for CAPTCHA validation
* Apply the pastel effect on an image
* Crop an image preserving the image aspect
* Remove a noise from an image
* Rotate or rescale an image detecting its background color
* Generate an histograms for an image
* Calculate pixel luminance (intensity), hue, saturation and chromacity of the RGB colors in three different color modes (HSL, HSI, HSV)
* Change hue of the image
* Change luminance of the image
* Change saturation of the image
* Create High-Definition-Range (HDR) images
* Use advanced programmable Pixel Shader
* Merge two images using eight different blending modes:
- addition
- divide
- subtract
- darken
- lighten
- difference
- multiply
- opacity
* Apply experimental blur effect with customizable kernel size.

Innovation Award
PHP Programming Innovation award nominee
November 2011
Number 2


Prize: One downloadable copy of PhpED Professional
PHP can use the GD library to provide basic image manipulation functions.

This class goes further and implements additional advanced image manipulation functions in pure PHP.

Manuel Lemos
Picture of Artur Graniszewski
  Performance   Level  
Innovation award
Innovation award
Nominee: 7x

Winner: 1x

Screenshots  
  • noise_reduction.png
  • ocr_text_recognition.png
  • auto_deskewing.png
  • ocr_captcha_reader.PNG
  • pastelization.png
  • skew_detection.png
  • histogram.png
  • background_color.png
  • hue_rotation.jpg
  • vibrant_colors.jpg
  Files folder image Files  
File Role Description
Files folder imagedocumentation (9 files)
Files folder imageexamples (19 files)
Plain text file gd2imaging.php Class Main class source.
Accessible without login Plain text file license.txt Lic. LGPL license file.

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1
Total:1,470
This week:2
All time:2,576
This week:591Up