Searched refs:desired_width (Results 1 – 6 of 6) sorted by relevance
/imagick/tests/ |
H A D | 064_cropThumbNailImage.phpt | 23 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 D | imagick_helpers.c | 183 *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 D | php_imagick_helpers.h | 27 …mbnail_dimensions(MagickWand *magick_wand, zend_bool bestfit, im_long desired_width, im_long desir…
|
H A D | imagick_class.c | 7924 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 D | Imagick.stub.php | 752 int $desired_width, argument
|
H A D | Imagick_arginfo.h | 3280 ZEND_ARG_TYPE_INFO(0, desired_width, IS_LONG, 0) 3282 ZEND_ARG_INFO(0, desired_width)
|
Completed in 117 milliseconds