Lines Matching refs:currentPixel
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);
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))),
1101 max(0, min(255, round($currentPixel['green'] * $scaleG))),
1102 max(0, min(255, round($currentPixel['blue'] * $scaleB))),
1103 $currentPixel['alpha']