Searched refs:currentPixel (Results 1 – 2 of 2) sorted by relevance
/plugin/photogallery/phpThumb/ |
H A D | phpthumb.filters.php | 878 $currentPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y); 879 …ateAlphaSafe($gdimg, ~$currentPixel[ 'red'] & 0xFF, ~$currentPixel[ 'green'] & 0xFF, ~$currentPixe… 1019 $currentPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y); 1020 $colorDiff = phpthumb_functions::PixelColorDifferencePercent($currentPixel, $targetPixel); 1038 $currentPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y); 1039 $grayPixel = phpthumb_functions::GrayscalePixel($currentPixel); 1097 $currentPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y); 1100 max(0, min(255, round($currentPixel['red'] * $scaleR))), 1101 max(0, min(255, round($currentPixel['green'] * $scaleG))), 1102 max(0, min(255, round($currentPixel['blue'] * $scaleB))), [all …]
|
H A D | phpthumb.functions.php | 275 public static function PixelColorDifferencePercent($currentPixel, $targetPixel) { argument 278 …$diff = max($diff, (max($currentPixel[$channel], $targetPixel[$channel]) - min($currentPixel[$chan…
|