laravel-image-legacy
laravel-image-legacy copied to clipboard
Potrait images from iphone got rotated 45 degrees
Hi,
I experience an issue with mobile phones. When I upload an image to my server and then run the image crop from a portrait image it gets cropped and rotated 45 degrees anti-clockwise. This only occurs when the image is taken using an iPhone.
On android devices it works as expected.
Does anyone have a clue of what can be happening?
The code I use to make the crop is as follows: Image::url($user->image,200,200,array('crop'))
$user->image is the route to the original image file that is uploaded exactly as it was taken, portrait.
Same issue, some get rotated 45, others 180!?