Login   Register  
PHP Classes
elePHPant
Icontem

GD2 Imaging

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Artur Graniszewski
Name: Artur Graniszewski is available for providing paid consulting. Contact Artur Graniszewski .
Packages: 13 Browse all classes by Artur Graniszewski Browse all classes by
Country: Poland Poland - PHP jobs in Poland
Age: 31
All time rank: 39210 in Poland Poland
Week rank: 61 Up2 in Poland Poland Up
Innovation award
Innovation award
Nominee: 7x

Winner: 1x


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Artur Graniszewski  >  GD2 Imaging  >  Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: GD2 Imaging
Base name: gd2-imaging
Description: Deskew and apply other advanced image effects
Version: 1.7.4
PHP version: 5.2
License: GNU Lesser General Public License (LGPL)
All time users: 1072 users
All time rank: 3030
Week users: 7 users
Week rank: 332 Up
 
  Groups   Screenshots Screenshots   Rate classes User ratings  
  Dependents   Applications   Related links   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Graphics Colors, images, charts and picture formats View top rated classes

  Files folder image Screenshots  
Noise reduction example
File Role Description
Accessible without login Image file noise_reduction.png Screen Noise reduction example
Accessible without login Image file ocr_text_recognition.png Screen OCR - Basic text recognition example.
Accessible without login Image file auto_deskewing.png Screen Auto deskewing example
Accessible without login Image file ocr_captcha_reader.PNG Screen OCR - Basic captcha reader
Accessible without login Image file pastelization.png Screen Pastelization example
Accessible without login Image file skew_detection.png Screen Skew detection example.
Accessible without login Image file background_color.png Screen Background color detection example
Accessible without login Image file histogram.png Screen Histogram example
Accessible without login Image file hue_rotation.jpg Screen Hue rotation example.
Accessible without login Image file vibrant_colors.jpg Screen Vibrant colors example.


  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

  User ratings  
There are not enough user ratings to display for this class.

  Packages that need this class  
Class Dependency Why it is needed
ASCII art generator for PHP
Required
GD2 Imaging is used for image quantization (OCR) - this library is provided with the ASCII generator package

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
GD2 Imaging Features demonstration of the GD2 Imaging class
Hough transform Description of the Hough transform used in a deskew methods.
Median Description of a median used in noise reduction.
Image quantization Description of an image quantization used in OCR.
Image histogram Description of the image histogram.
HSV and HSL Description of two popular color spaces

  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.

  Files  /  Files folder image documentation  
File Role Description
  Accessible without login HTML file _gd2imaging.php.html Doc. Documentation [MAIN FILE]
  Accessible without login HTML file Image.html Doc. Documentation: Image class
  Accessible without login HTML file Vector.html Doc. Documentation: Vector class
  Accessible without login HTML file Quantizator.html Doc. Documentation: Quantizator class
  Accessible without login HTML file Color.html Doc. Documentation: Color class
  Accessible without login HTML file Dimensions.html Doc. Documentation: Dimensions class
  Accessible without login HTML file Point.html Doc. Documentation: Point class
  Accessible without login HTML file Channel.html Doc. Documentation: Channel class
  Accessible without login Plain text file stylesheet.css Data Stylesheet

  Files  /  Files folder image examples  
File Role Description
  Accessible without login Plain text file index.php Example Example script
  Accessible without login Plain text file deskew.php Example Misc file.
  Accessible without login Plain text file histogram.php Example Misc file.
  Accessible without login Plain text file hsv.php Example Misc file.
  Accessible without login Plain text file hue.php Example Misc file.
  Accessible without login Plain text file noise_reduction.php Example Misc file.
  Accessible without login Plain text file rotation.php Example Misc file.
  Accessible without login Image file alphabet.png Data Misc file.
  Accessible without login Image file bird.png Photo Misc file.
  Accessible without login Image file blue.png Photo Misc file.
  Accessible without login Image file captcha.gif Photo Misc file.
  Accessible without login Image file hawaii.jpg Photo Misc file.
  Accessible without login Image file noise.PNG Photo Misc file.
  Accessible without login Image file plain.jpg Photo Misc file.
  Accessible without login Image file test3.PNG Photo Misc file.
  Accessible without login Image file test4.PNG Photo Misc file.
  Accessible without login Image file text.png Data Misc file.
  Accessible without login Image file arrow.png Data Misc file.
  Accessible without login Image file loading.gif Data Misc file.

Download all files: gd2-imaging.tar.gz gd2-imaging.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.