PHP Graphic Works (Images and Media)

Introduction

WiseLoop PHP Graphic Works is a set of PHP classes designed for image manipulation on the server side.
This package allows complex image processing in a flexible manner, by using only a few lines of code. Thus, the image processing commands can be specified in an Fx Chain which is then parsed by the effects processor to be applied over the source image. The Fx Chain can be loaded from a string, a string in JSON format, or also from a local or remote file (it may be even a URL ).
Cache-type function, prevents useless processing by storing the resulting images for a given set of effects, improving the processed image output speed.

By using live-type characteristics of this package the Fx Chains can be applied to images on the fly, thus, the resulting image can be displayed directly in a html img tag.
There is also a batch processor that enables applying an Fx Chain over an entire image directory.
Service information feature enables the development of JavaScript applications allowing them to be aware of the effects available, and the parameters required by the effects. (see demo application Image Editor)
The choosen programming model allows the extension library of effects and permits using this package in a flexible and intuitive manner.

In conclusion, this package is not just a way to apply effects on images, it is a powerful API that due to its dynamic characteristics can significantly improve the image of web sites and helps developing JavaScript applications that do image processing on the server (image editors, galleries, etc.).

Main Features

  • complete collection of image manipulators: rotate, crop, resize, scale, stretch, flip;
  • large collection of image filters: blur, sepia, grayscale, negative, contrast, brightness, gamma, saturation, hue, smooth, sharpen, channel, colorize;
  • great special effects: puzzle, noise, pixelate, reflection, emboss, edge, sketch, round;
  • drawing primitives: text or image mixing, so image watermarks can be applied;
  • applying effects on selection or entire image;
  • applying grayscale masks (vectorial-internally generated or loaded form external uri-s)
  • applying multiple effects at once using chained effects;
  • image folder batch processor;
  • effects service info available (JSON format) for easy integration with JavaScript applications;
  • live rendering so you can apply effects on the fly directly from the html tag;
  • lightweight due to the Autoloader feature;
  • smart caching for fast processing;
  • exhaustive documentation;
  • effects library easy to enlarge;
  • Live Demonstrations

    Very Short Features Preview

    _before.jpg

    Original Picture

    Applying Fx Chains

    Rounded Reflection

    Rounded
    Reflection
    Gamma with Reflection

    Gamma w/
    Reflection
    Sepia with Reflection

    Sepia w/
    Reflection
    Grayscale with Reflection

    Grayscale w/
    Reflection
    Negative with Reflection

    Negative w/
    Reflection
    Mask with Reflection

    Mask w/
    Reflection
    Selection Capabilities

     
     
    Selection
    Capabilities

    Blending

    Watermark

    Watermark
     
    Window

    Transparent
    Window
    Frame

    Transparent
    Frame
    Frame

    Frame
     
    Frame

    Frame
     

    Applying Masks

    Circle

    Circle
    Vectorial
    Mask
     
    Rounded

    Rounded
    Corners
    Vectorial
    Mask
    Interlaced

    Interlaced
    Vectorial
    Mask
     
    xray.png

    File
    Mask
     
     
    rubick.png

    File
    Mask
     
     
    grayscale.png

    File
    Mask
     
     
    frame3.png

    File
    Mask
     
     

    Applying Single Fx

    Blur Filter Effect

    Blur
     
    Brightness Filter Effect

    Increased
    Brightness
    Extract Channel

    Extract Red
    Channel
    Colorize (Tint) Filter Effect

    Tint
    (Colorize)
    Contrast Filter Effect

    Increased
    Contrast
    Gamma Correction Filter Effect

    Gamma
    Correction
    Grayscale Filter Effect

    Grayscale
     
    Sepia Filter Effect

    Sepia
     
    Negative Filter Effect

    Negative
     
    Text Watermark

    Text
    Watermark
    Pixelate Effect

    Pixelate
     
    Puzzle Effect

    Puzzle
     
    Reflection

    Reflection
     

    Requirements

    • Apache Web Server 2.0.0 or above
    • PHP 5 .0.0 or above with GD2 extension enabled

    Installation Instructions

    • Step 1: make a folder named /wlGraphicWorks on your Web server;
    • Step 2: copy entire /bin and /live folders to the new created /wlGraphicWorks folder;
    • Step 3: set the cache path from /bin/wlGwConfig.php file (make sure that it exists and is writable);
    • Step 4: include /bin/wlGw.php in your application.

    free counters

Download PHP Graphic Works (Images and Media)

Leave a Reply

Your email address will not be published. Required fields are marked *