H A D | pagetools-build.php | 98 * @param float $scale Scale the colors by this value ( <1 darkens, >1 lightens) 100 function imagecolorscale(&$img, $scale){ argument 113 $r = max(min(round($r*$scale),255),0); 114 $g = max(min(round($g*$scale),255),0); 115 $b = max(min(round($b*$scale),255),0);
|