Home
last modified time | relevance | path

Searched refs:targetPixel (Results 1 – 2 of 2) sorted by relevance

/plugin/photogallery/phpThumb/
H A Dphpthumb.filters.php1015 $targetPixel = array('red'=>$R, 'green'=>$G, 'blue'=>$B);
1020 $colorDiff = phpthumb_functions::PixelColorDifferencePercent($currentPixel, $targetPixel);
1077 $targetPixel = array(
1084 $targetPixel = array(
1090 …$grayValue = phpthumb_functions::GrayscaleValue($targetPixel['red'], $targetPixel['green'], $targe…
1091 $scaleR = $grayValue / $targetPixel['red'];
1092 $scaleG = $grayValue / $targetPixel['green'];
1093 $scaleB = $grayValue / $targetPixel['blue'];
H A Dphpthumb.functions.php275 public static function PixelColorDifferencePercent($currentPixel, $targetPixel) { argument
277 foreach ($targetPixel as $channel => $currentvalue) {
278 … max($diff, (max($currentPixel[$channel], $targetPixel[$channel]) - min($currentPixel[$channel], $