Home
last modified time | relevance | path

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

/imagick/tests/
H A D064_cropThumbNailImage.phpt23 for ($desired_width = 245; $desired_width < 255; $desired_width++) {
28 $desired_width, $desired_height,
37 echo "Incorrect height for desired_width $desired_width imageHeight $imageHeight".PHP_EOL;
41 $expectedWidth = $desired_width;
45 $desired_width == 250 &&
52 echo "Incorrect width for desired_width $desired_width imageHeight $imageHeight".PHP_EOL;
57 echo "Incorrect width for desired_width $desired_width imageHeight $imageHeight".PHP_EOL;
65 $desired_width, $desired_height,
/imagick/
H A Dimagick_helpers.c183 *new_width = desired_width; in php_imagick_thumbnail_dimensions()
191 if (desired_width <= 0 || desired_height <= 0) { in php_imagick_thumbnail_dimensions()
195 ratio_x = (double) desired_width / (double) orig_width; in php_imagick_thumbnail_dimensions()
200 *new_width = desired_width; in php_imagick_thumbnail_dimensions()
203 *new_width = desired_width; 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()
230 if (desired_width <= 0) { in php_imagick_thumbnail_dimensions()
240 ratio = (double) orig_width / (double) desired_width; in php_imagick_thumbnail_dimensions()
247 *new_width = desired_width; in php_imagick_thumbnail_dimensions()
[all …]
H A Dphp_imagick_helpers.h27 …mbnail_dimensions(MagickWand *magick_wand, zend_bool bestfit, im_long desired_width, im_long desir…
H A Dimagick_class.c7924 im_long desired_width, im_long desired_height, argument
7932 ratio_x = ((double) desired_width / (double) orig_width);
7936 temp_new_width = desired_width;
7957 *offset_x = (long) ((temp_new_width - desired_width) / 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.php752 int $desired_width, argument
H A DImagick_arginfo.h3280 ZEND_ARG_TYPE_INFO(0, desired_width, IS_LONG, 0)
3282 ZEND_ARG_INFO(0, desired_width)

Completed in 89 milliseconds