How can you make a sharpness filter with the PHP GD library?
So that this...
If the ImageMagick is installed in your PHP config, you can use Imagick::adaptiveSharpenImage
From the manual:
adaptiveSharpenImage(2,1);
} catch(ImagickException $e) {
echo 'Error: ' , $e->getMessage();
die();
}
header('Content-type: image/png');
echo $image;
?>
http://php.net/manual/en/function.imagick-adaptivesharpenimage.php