Searched refs:new_height (Results 1 – 5 of 5) sorted by relevance
/plugin/galleryv1.5/inc/ |
H A D | image.php | 53 $new_height = str_replace('h','',$size); variable 56 $new_height = floor(str_replace('w','',$size) / $ratio); variable 60 $new_image = imagecreatetruecolor($new_width, $new_height); 62 imagecopyresampled($new_image, $old_image, 0, 0, 0, 0, $new_width, $new_height, $width, $height);
|
H A D | magazinelayout.class.php | 323 $new_height = str_replace('h','',$size); 326 $new_height = floor(str_replace('w','',$size) / $ratio); 329 $dim = array('w'=>$new_width,'h'=>$new_height); 334 $i['height'] = $new_height;
|
/plugin/reflect/ |
H A D | action.php | 80 $new_height = $height * $output_height; 83 $new_height = $output_height; 136 … $output = $this->imagereflection($source, $width, $height, $new_height, $alpha_start, $alpha_end); 153 $finaloutput = imagecreatetruecolor($width, $height+$new_height); 158 imagecopy($finaloutput, $output, 0, 0, 0, 0, $width, $height+$new_height);
|
/plugin/photogallery/phpThumb/ |
H A D | phpthumb.functions.php | 415 …public static function ProportionalResize($old_width, $old_height, $new_width=false, $new_height=f… argument 417 if (($new_width === false) && ($new_height === false)) { 420 $new_width = $new_height * $old_aspect_ratio; 421 } elseif ($new_height === false) { 422 $new_height = $new_width / $old_aspect_ratio; 424 $new_aspect_ratio = $new_width / $new_height; 429 $new_height = $new_width / $old_aspect_ratio; 432 $new_width = $new_height * $old_aspect_ratio; 436 (int) round($new_height)
|
H A D | phpthumb.filters.php | 691 …list($new_width, $new_height) = phpthumb_functions::ProportionalResize($output_width, $output_heig… 734 …t_width - $new_width) / 2), round(($output_height - $new_height) / 2), 0, 0, $new_width, $new_heig…
|