Searched refs:ImageCreateFunction (Results 1 – 4 of 4) sorted by relevance
/plugin/photogallery/phpThumb/ |
H A D | phpthumb.functions.php | 375 public static function ImageCreateFunction($x_size, $y_size) { function in phpthumb_functions 376 $ImageCreateFunction = 'imagecreate'; 378 $ImageCreateFunction = 'imagecreatetruecolor'; 380 if (!function_exists($ImageCreateFunction)) { 381 return phpthumb::ErrorImage($ImageCreateFunction.'() does not exist - no GD support?'); 384 …return phpthumb::ErrorImage('Invalid image dimensions: '.$ImageCreateFunction.'('.$x_size.', '.$y_… 386 return $ImageCreateFunction(round($x_size), round($y_size));
|
H A D | phpthumb.filters.php | 37 …if ($gdimg_mask_resized = phpthumb_functions::ImageCreateFunction(imagesx($gdimg_image), imagesy($… 347 …if ($gdimg_dropshadow_temp = phpthumb_functions::ImageCreateFunction($tempImageWidth, $tempImageHe… 417 …if ($gdimg_ellipsemask = phpthumb_functions::ImageCreateFunction(imagesx($gdimg), imagesy($gdimg))… 456 if ($tempImage = phpthumb_functions::ImageCreateFunction(imagesx($gdimg), imagesy($gdimg))) { 694 if ($gd_border_canvas = phpthumb_functions::ImageCreateFunction($output_width, $output_height)) { 737 $gdimg = phpthumb_functions::ImageCreateFunction($output_width, $output_height); 821 …$gdimg_newsrc = phpthumb_functions::ImageCreateFunction(imagesx($gdimg_source), imagesy($gdimg_sou… 891 …if ($gdimg_cornermask_triple = phpthumb_functions::ImageCreateFunction($radius_x * 6, $radius_y * … 892 …if ($gdimg_cornermask = phpthumb_functions::ImageCreateFunction(imagesx($gdimg), imagesy($gdimg)))… 1314 if ($img_watermark = phpthumb_functions::ImageCreateFunction($text_width, $text_height)) { [all …]
|
H A D | phpthumb.class.php | 1720 $ImageCreateFunction = ''; 1726 $ImageCreateFunction = 'imagecreatefromgif'; 1730 $ImageCreateFunction = 'imagecreatefrompng'; 1735 $ImageCreateFunction = 'imagecreatefromjpeg'; 1738 $ImageCreateFunction = 'imagecreatefromwebp'; 1742 $ImageCreateFunction = 'imagecreatefromavif'; 1748 $ImageCreateFunction = 'imagecreatefrompng'; 1753 if (!function_exists($ImageCreateFunction)) { 1761 $ImageCreateFunction = 'imagecreatefrompng'; 2422 …} elseif (function_exists(@$ImageCreateFunction) && ($this->gdimg_source = @$ImageCreateFunction($… [all …]
|
H A D | phpThumb.php | 614 …if ($phpThumb->gdimg_source = phpthumb_functions::ImageCreateFunction($phpThumb->w, $phpThumb->h))…
|