Open jakenoble opened 8 years ago
Removing fixOrientation()
fixes the issue and the image is resized, does this mean fixOrientation()
is broken?
You can use ->useFallback(false)
.
Seems to be related to when images have corrupt or invalid EXIF data, and exif_read_data throws and exception.
I get an exception thrown exif_read_data(file-20151123-565300d79e623): Illegal IFD Pointer
However I feel this is incorrect behaviour as the rest of the EXIF is fine, including the Orientation, which is what we care about when using ->fixOrientation()
I am getting an image in my cache directory called fallback.jpg, the image just says Error.
How can I find the errors that this lib is throwing, putting my code in a try catch doesn't show up anything.
My dirs are writeable, I have PHP memory set at 512MB, I have GD and Exif.
How can I locate the error?
My code that fails is