WordPress File wp-includes/media.php

image_downsize()

Scale an image to fit a particular size (such as ‘thumb’ or ‘medium’).

image_hwstring()

Retrieve width and height attributes using given width and height values.

is_gd_image()

Determines whether the value is an acceptable type for GD image functions.