* Imporatnt : This method require PHP to be compiled with the * =========== bundled version of the GD library. */ $copy = tulipIP::gdClone($image); tulipIP::edge($copy); tulipIP::saveImage($dest, $copy, $mime, 'Edge-filter'); imagedestroy($copy); /* * 9 - Emboss Filter * Imporatnt : This method require PHP to be compiled with the * =========== bundled version of the GD library. */ $copy = tulipIP::gdClone($image); $offset = 1; // color offset in range(1,100) where 1= default $normalization = 127; // color normalization in range (0,360) where 172= default tulipIP::emboss($copy, $offset, $normalization); tulipIP::saveImage($dest, $copy, $mime, 'Emboss-filter'); imagedestroy($copy); /* * 10 - Light Filter * Imporatnt : This method require PHP to be compiled with the * =========== bundled version of the GD library. */ $copy = tulipIP::gdClone($image); tulipIP::light($copy); tulipIP::saveImage($dest, $copy, $mime, 'Light-filter'); imagedestroy($copy); // destroy the original source imagedestroy($image);