Home
last modified time | relevance | path

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

/plugin/photogallery/phpThumb/
Dphpthumb.filters.php878 $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);
1041 … phpthumb_functions::ImageColorAllocateAlphaSafe($gdimg, 0x00, 0x00, 0x00, $currentPixel['alpha']);
1043 … phpthumb_functions::ImageColorAllocateAlphaSafe($gdimg, 0xFF, 0xFF, 0xFF, $currentPixel['alpha']);
1097 $currentPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
1100 max(0, min(255, round($currentPixel['red'] * $scaleR))),
[all …]
Dphpthumb.functions.php275 public static function PixelColorDifferencePercent($currentPixel, $targetPixel) { argument
278 …$diff = max($diff, (max($currentPixel[$channel], $targetPixel[$channel]) - min($currentPixel[$chan…