This page redirects to an external site: https://developer.wordpress.org/reference/functions/image_resize_dimensions/
Retrieve calculated resized dimensions for use in imagecopyresampled().
Calculate dimensions and coordinates for a resized image that fits within a specified width and height. If $crop is true, the largest matching central portion of the image will be cropped out and resized to the required size.
<?php image_resize_dimensions( $orig_w, $orig_h, $dest_w, $dest_h, $crop ); ?>
Since: 2.5
image_resize_dimensions() is located in wp-includes/media.php