PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Dhiman Chakraborty   Image Effect   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example file
Class: Image Effect
Apply colorize image filter effects
Author: By
Last change:
Date: 9 years ago
Size: 220 bytes
 

Contents

Class file image Download
<?php
require_once 'ImageEffect.php';
$imagePath = 'fullimage.png';
$rgb = array(255, 0, 0);
$processor = new ImageEffect();
$processor->setPath($imagePath)->createImage()->setHeaderInfo()->filter($rgb)->show();