tigra-image-library/gd2-imaging

An advanced image processing library.

1.7.5 2018-03-11 18:18 UTC

This package is auto-updated.

Last update: 2024-05-09 13:16:57 UTC


README

Introduction

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

Features

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.

Sample operations

Example Example Example Example Example Example Example Example Example Example

Sample code

Please see the examples directory