function _imageapi_gd_pixel_negate in ImageAPI 5
Same name and namespace in other branches
- 6 imagefilter.inc \_imageapi_gd_pixel_negate()
1 string reference to '_imageapi_gd_pixel_negate'
File
- ./
imagefilter.inc, line 53
Code
function _imageapi_gd_pixel_negate(&$r, &$g, &$b, &$a) {
$r = 255 - $r;
$g = 255 - $g;
$b = 255 - $b;
}