2 Testing imageconvolution() of GD library
4 Guilherme Blanco <guilhermeblanco [at] hotmail [dot] com>
5 #testfest PHPSP on 2009-06-20
8 if (!extension_loaded("gd")) die("skip GD not present");
12 $image = imagecreatetruecolor(180, 30);
14 // Writes the text and apply a gaussian blur on the image
15 imagestring($image, 5, 10, 8, 'Gaussian Blur Text', 0x00ff00);
23 imageconvolution($image, $gaussian, 16, 0);
26 imagepng($image, null, 9);
27 $img = ob_get_contents();
30 echo md5(base64_encode($img));
33 594576a2a2a689447ffc07eb5a73f09b