Searched refs:orig_width (Results 1 – 2 of 2) sorted by relevance
/imagick/ |
H A D | imagick_helpers.c | 177 im_long orig_width, orig_height; in php_imagick_thumbnail_dimensions() local 179 orig_width = MagickGetImageWidth(magick_wand); in php_imagick_thumbnail_dimensions() 182 if ((orig_width == desired_width) && (orig_height == desired_height)) { in php_imagick_thumbnail_dimensions() 195 ratio_x = (double) desired_width / (double) orig_width; in php_imagick_thumbnail_dimensions() 213 *new_width = ratio_y * ((double) orig_width); in php_imagick_thumbnail_dimensions() 216 *new_width = im_round_helper(ratio_y * ((double) orig_width)); in php_imagick_thumbnail_dimensions() 233 *new_width = ((double) orig_width) / ratio; in php_imagick_thumbnail_dimensions() 236 *new_width = im_round_helper(((double) orig_width) / ratio); in php_imagick_thumbnail_dimensions() 240 ratio = (double) orig_width / (double) desired_width; in php_imagick_thumbnail_dimensions()
|
H A D | imagick_class.c | 7923 im_long orig_width, im_long orig_height, argument 7932 ratio_x = ((double) desired_width / (double) orig_width); 7947 temp_new_width = (long)(ratio_y * (double)orig_width); 7950 temp_new_width = im_round_helper_class(ratio_y * (double)orig_width); 7967 im_long orig_width, orig_height; local 7975 &orig_width, &orig_height, &desired_width, &desired_height, &legacy) == FAILURE) { 7979 if (orig_width <= 0 || orig_height <= 0 || 7985 orig_width, orig_height, 8008 im_long orig_width = (im_long)MagickGetImageWidth(magick_wand); local 8012 if ((orig_width == desired_width) && (orig_height == desired_height)) { [all …]
|
Completed in 59 milliseconds