It looks like you're new here. If you want to get involved, click one of these buttons!
If I don't add 'ext' for the $format variable when I call
Image::resize(), the function tries to convert the .png to a .jpg and gets an '#exception-caught' error.
$resized_image = Image::resize ($tmp_file, 404, 539, 'contain', 'ext'); -- works fine.
$resized_image = Image::resize ($tmp_file, 404, 539, 'contain'); -- returns image with '#exception-caught' if the image is a .png.