image_edit_apply_changes in /wp-admin/includes/image-edit.php
1987
Continue readingScale an image to fit a particular size (such as ‘thumb’ or ‘medium’).Array with image url, width, height, and whether is intermediate size, in that order is returned on success is returned. $is_intermediate is true if $url is a resized image, false if it is the original.
1985
Continue readingScale down the default size of an image.This is so that the image is a better fit for the editor and theme.
1983
Continue reading