Home
last modified time | relevance | path

Searched refs:new_height (Results 1 – 5 of 5) sorted by relevance

/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;
/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/photogallery/phpThumb/
H A Dphpthumb.functions.php407 static function ProportionalResize($old_width, $old_height, $new_width=false, $new_height=false) { argument
409 if (($new_width === false) && ($new_height === false)) {
412 $new_width = $new_height * $old_aspect_ratio;
413 } elseif ($new_height === false) {
414 $new_height = $new_width / $old_aspect_ratio;
416 $new_aspect_ratio = $new_width / $new_height;
421 $new_height = $new_width / $old_aspect_ratio;
424 $new_width = $new_height * $old_aspect_ratio;
426 return array(intval(round($new_width)), intval(round($new_height)));
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…