Home
last modified time | relevance | path

Searched refs:desired_height (Results 1 – 6 of 6) sorted by relevance

/imagick/tests/
H A D064_cropThumbNailImage.phpt12 $desired_height = 250;
16 $desired_height = 250;
28 $desired_width, $desired_height,
36 if ($thumbnailImageHeight != $desired_height) {
42 $expectedHeight = $desired_height;
46 $desired_height == 250) {
65 $desired_width, $desired_height,
/imagick/
H A Dimagick_helpers.c182 if ((orig_width == desired_width) && (orig_height == desired_height)) { in php_imagick_thumbnail_dimensions()
184 *new_height = desired_height; in php_imagick_thumbnail_dimensions()
191 if (desired_width <= 0 || desired_height <= 0) { in php_imagick_thumbnail_dimensions()
196 ratio_y = (double) desired_height / (double) orig_height; in php_imagick_thumbnail_dimensions()
201 *new_height = desired_height; in php_imagick_thumbnail_dimensions()
211 *new_height = desired_height; in php_imagick_thumbnail_dimensions()
225 if (desired_width <= 0 && desired_height <= 0) { in php_imagick_thumbnail_dimensions()
229 if (desired_width <= 0 || desired_height <= 0) { in php_imagick_thumbnail_dimensions()
231 ratio = (double) orig_height / (double) desired_height; in php_imagick_thumbnail_dimensions()
238 *new_height = desired_height; in php_imagick_thumbnail_dimensions()
[all …]
H A Dphp_imagick_helpers.h27 …Wand *magick_wand, zend_bool bestfit, im_long desired_width, im_long desired_height, im_long *new_…
H A Dimagick_class.c7924 im_long desired_width, im_long desired_height, argument
7933 ratio_y = ((double) desired_height / (double) orig_height);
7945 temp_new_height = desired_height;
7958 *offset_y = (long) ((temp_new_height - desired_height) / 2);
7968 im_long desired_width, desired_height; local
7980 desired_width <= 0 || desired_height <= 0) {
7986 desired_width, desired_height,
8012 if ((orig_width == desired_width) && (orig_height == desired_height)) {
8021 desired_width, desired_height,
8032 if ((new_width == desired_width) && (new_height == desired_height)) {
[all …]
H A DImagick.stub.php753 int $desired_height, argument
H A DImagick_arginfo.h3286 ZEND_ARG_TYPE_INFO(0, desired_height, IS_LONG, 0)
3288 ZEND_ARG_INFO(0, desired_height)

Completed in 86 milliseconds