resizeImageFile

Resizes an image from a remote location or a local file. Puts the resized image at the destination location. The file would have the format preferred_format if possible, otherwise the default format is jpeg.
Parameters Summary
string $source
string $destination
int $max_width
int $max_height
int $preferred_format = 0