Lines Matching +refs:round +refs:b
283 public static function GrayscaleValue($r, $g, $b) { argument
284 return round(($r * 0.30) + ($g * 0.59) + ($b * 0.11));
297 $b = $rgb & 0xFF;
298 return ($r * 0.299) + ($g * 0.587) + ($b * 0.114);
354 $b = ((($c1 & 0x0000FF) + ($c2 & 0x0000FF) + ($c3 & 0x0000FF) + ($c4 & 0x0000FF)) >> 2);
365 $b = ($c1['blue'] + $c2['blue'] + $c3['blue'] + $c4['blue'] ) >> 2;
368 imagesetpixel($dst_img, $dst_x + $x - $src_x, $dst_y + $y - $src_y, $r+$g+$b);
386 return $ImageCreateFunction(round($x_size), round($y_size));
401 …erlayPixel['red'] : ($OverlayPixel['alpha'] == 127 ? $RealPixel['red'] : (round($RealPixel['red'] …
402 …yPixel['green'] : ($OverlayPixel['alpha'] == 127 ? $RealPixel['green'] : (round($RealPixel['green'…
403 …layPixel['blue'] : ($OverlayPixel['alpha'] == 127 ? $RealPixel['blue'] : (round($RealPixel['blue']…
435 (int) round($new_width),
436 (int) round($new_height)