Home
last modified time | relevance | path

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

/plugin/photogallery/phpThumb/
H A Dphpthumb.filters.php29 public function ApplyMask(&$gdimg_mask, &$gdimg_image) { argument
39 …gdimg_mask_resized, $gdimg_mask, 0, 0, 0, 0, imagesx($gdimg_image), imagesy($gdimg_image), imagesx…
1011 if ($gdimg_mask = imagecreatetruecolor($width, $height)) {
1022 $newColor = imagecolorallocate($gdimg_mask, $grayLevel, $grayLevel, $grayLevel);
1023 imagesetpixel($gdimg_mask, $x, $y, $newColor);
1026 return $gdimg_mask;
H A Dphpthumb.class.php2953 if ($gdimg_mask = $this->ImageCreateFromStringReplacement($MaskImageData)) {
2955 imagefilter($gdimg_mask, IMG_FILTER_NEGATE);
2958 $phpthumbFilters->ApplyMask($gdimg_mask, $this->gdimg_output);
2959 imagedestroy($gdimg_mask);
3245 …if ($gdimg_mask = $phpthumbFilters->SourceTransparentColorMask($this->gdimg_output, $hexcolor, $mi…
3247 $phpthumbFilters->ApplyMask($gdimg_mask, $this->gdimg_output);
3248 imagedestroy($gdimg_mask);