Home
last modified time | relevance | path

Searched refs:new_height (Results 1 – 5 of 5) sorted by last modified time

/plugin/photogallery/phpThumb/
H A Dphpthumb.filters.php691 …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…
H A Dphpthumb.functions.php415 …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)
/plugin/reflect/
H A Daction.php80 $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/galleryv1.5/inc/
H A Dimage.php53 $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 Dmagazinelayout.class.php323 $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;