ImageFilter(Selective Blur)
ImageFilterをIMG_FILTER_SELECTIVE_BLURパラメータで使う事により、Selective Blurによるぼかしができます。
なお、設定によってはImageFilterを使えないのでご注意下さい。
サンプルコード
<?php
$img = ImageCreateFromJPEG('sample0.jpg');
ImageFilter($img, IMG_FILTER_SELECTIVE_BLUR);
header('Content-Type: image/jpeg');
ImageJPEG($img);
?>
動作例
<img src="script/imagefilter-selective-blur.php">
元画像
