Searched refs:orig_height (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 180 orig_height = MagickGetImageHeight(magick_wand); in php_imagick_thumbnail_dimensions() 182 if ((orig_width == desired_width) && (orig_height == desired_height)) { in php_imagick_thumbnail_dimensions() 196 ratio_y = (double) desired_height / (double) orig_height; in php_imagick_thumbnail_dimensions() 205 *new_height = ratio_x * ((double) orig_height); in php_imagick_thumbnail_dimensions() 208 *new_height = im_round_helper(ratio_x * ((double) orig_height)); in php_imagick_thumbnail_dimensions() 231 ratio = (double) orig_height / (double) desired_height; in php_imagick_thumbnail_dimensions() 242 *new_height = ((double) orig_height) / ratio; in php_imagick_thumbnail_dimensions() 245 *new_height = im_round_helper(((double) orig_height) / ratio); in php_imagick_thumbnail_dimensions()
|
H A D | imagick_class.c | 7923 im_long orig_width, im_long orig_height, argument 7933 ratio_y = ((double) desired_height / (double) orig_height); 7939 temp_new_height = (long)(ratio_x * (double)orig_height); 7942 temp_new_height = im_round_helper_class(ratio_x * (double)orig_height); 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, 8009 im_long orig_height = (im_long)MagickGetImageHeight(magick_wand); local 8012 if ((orig_width == desired_width) && (orig_height == desired_height)) { [all …]
|
Completed in 42 milliseconds