[trick] beberapa plugin php yang dipakai untuk edit photo


// IMG_FILTER_EDGEDETECT
// IMG_FILTER_BRIGHTNESS
// IMG_FILTER_COLORIZE
// IMG_FILTER_EMBOSS
// IMG_FILTER_GAUSSIAN_BLUR
// IMG_FILTER_GRAYSCALE
// IMG_FILTER_NEGATE
// IMG_FILTER_MEAN_REMOVAL
// IMG_FILTER_SMOOTH

header("Content-type:image/jpeg");
$image = imagecreatefromjpeg('koala.jpg');
imagefilter($image,IMG_FILTER_GRAYSCALE,70);
imagejpeg($image);

kali ini saya akan menggunakan gray scale, yang hasilnyan seperti ini.

koala

 

fungsi lainnya :

https://topidesta.wordpress.com/2015/04/08/memaksimalkan-penggunaan-input-typerange-html-5/

Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: