You're seeing just the function resize_to_fill, go back to Mogrify module for more information.
Link to this function

resize_to_fill(image, params)

View Source

Resize the image to fit within the specified dimensions while retaining the aspect ratio of the original image.

If necessary, crop the image in the larger dimension.