alexk111 / ngImgCrop

Image Crop directive for AngularJS (THIS PROJECT IS NOT MAINTAINED ANYMORE)
MIT License
1.12k stars 516 forks source link

Force Image orientation #32

Open jack-the-ripper opened 9 years ago

jack-the-ripper commented 9 years ago

this issue hapenns with some images, when I upload a file sometimes I het a unwantes 90 degrees rotation

I'm wondering if this could be fixed by applying an exif orientation or if this is an overkill?, I saw that you already doing all image modification in a canvas, is there any way to fix this?

I posted this question in stackoveflow you can view the issue just by download this image http://www.asesoriait.net/images/IMG_1854.JPG

http://stackoverflow.com/questions/27204309/force-image-orientation-angularjs

thanks

ericklombardo commented 9 years ago

+1

MatthiasEckhart commented 9 years ago

+1

martinsuchenak commented 9 years ago

+1

alexk111 commented 9 years ago

Done. Please check the latest version. Added the exif orientation check and the image auto-rotation.

xzegga commented 9 years ago

I am experimented low perfomance when upload an image in latest version after image auto-rotation was included

mike-suggitt commented 9 years ago

Any update on whether there is a genuine performance hit with this change? I'd like to pull the changes but obviously not if there are problems with performance.