I want to learn how to use the php function imagefilter
I follow a tutorial on youtube and I get this code :
<?php
$image = imagecreatefromjpeg('../img/Flo.jpg')
$amountOfBlur = 10;
for($i=0;$i<=$amountOfBlur;$i++){
imagefilter($image, IMG_FILTER_GAUSSIAN_BLUR);
}
imagejpeg($image);
imagedestroy($image);
?>
but the result is wrong, the image is not loading. what should i do?
see the result :
Thank you for your help, i just need a start.