Closed eAvio closed 3 years ago
When uploading images taken with phone, orientation is sometimes wrong.
I found the solution to just add "orientate()" to: $this->image = Image::make($uploadedFile->getPathName())->orientate();
$this->image = Image::make($uploadedFile->getPathName())->orientate();
After that it works fine.
Maybe it would be good idea to include this into the package.
Example image that rotates wrong is this:
Hi @eAvio !
Thank you for your feedback! Check out #61, let me know if that can work for you.
Clément
Hi, I tried the PR #61 on my project and it's working!
Hi @eAvio
This feature has been added to v1.3.0.
Have a good day.
When uploading images taken with phone, orientation is sometimes wrong.
I found the solution to just add "orientate()" to:
$this->image = Image::make($uploadedFile->getPathName())->orientate();
After that it works fine.
Maybe it would be good idea to include this into the package.
Example image that rotates wrong is this: