Hướng dẫn php imagefilter
(PHP 5, PHP 7, PHP 8) imagefilter — Applies a filter to an image Descriptionimagefilter(GdImage Parametersimage A GdImage object, returned by one of the image creation functions, such as imagecreatetruecolor(). filter
args
arg2
arg3
arg4
Return Values Returns Changelog
ExamplesExample #1 imagefilter() grayscale example
$im && imagefilter($im, IMG_FILTER_GRAYSCALE)) Example #2 imagefilter() brightness example
$im && imagefilter($im, IMG_FILTER_BRIGHTNESS, 20)) Example #3 imagefilter() colorize example
Example #4 imagefilter() negate example
$x = 0; $x < imagesx($im); ++$x) Example #5 imagefilter() pixelate example
The above example will output something similar to: Example #6 imagefilter() scatter example
The above example will output something similar to: Notes
See Also
PanuWorld ¶ 15 years ago
martijn at martijnfrazer dot nl ¶ 8 years ago
yoann at yoone dot eu ¶ 9 years ago
aiden dot mail at freemail dot hu ¶ 14 years ago
cookie at backbone dot sk ¶ 10 years ago
effect($x, $y, &$rgb){ kees at tweakers dot net ¶ 18 years ago
hadrien dot jouet at grownseed dot net ¶ 11 years ago
bushmakin stas (bushstas at mail dot ru) ¶ 11 years ago
shahilahmed4242 at gmail dot com ¶ 6 years ago
Manolo at msalsas dot com ¶ 8 years ago
martijn(97+1) at gmail dot com (solve math) ¶ 9 years ago
fananf at nerdshack dot com ¶ 15 years ago
?> vdepizzol at hotmail dot com ¶ 18 years ago
michaeln no at spam associationsplus ca ¶ 14 years ago
nancy at hypertextdigital dot com ¶ 16 years ago
webmaster at qudi dot de ¶ 16 years ago
mail at kavisiegel dot com ¶ 13 years ago
Padde ¶ 9 years ago
jonathan dot gotti at gmail dot com ¶ 11 years ago
santibari at fibertel dot com ¶ 16 years ago
$pal[$lum_inp]['r']=$r; mail at pedrocandeias dot com ¶ 10 years ago
trucex email over at gmail ¶ 15 years ago
|