cstefanache / angular2-img-cropper

Angular 2 Image Cropper
MIT License
364 stars 135 forks source link

Handling EXIF Image Orientation #40

Closed frankfarzan closed 8 years ago

frankfarzan commented 8 years ago

On iOS, the image is sometimes rotated 90 degrees. This seems to be a general problem that involves reading EXIF data. Example:

https://github.com/fengyuanchen/cropper/issues/120

tinquang commented 8 years ago

I'm expecting the orientation option too

cstefanache commented 8 years ago

Is adding a rotate button on the image an option? If yes I can work this easily as soon as I get back from vacation.

tinquang commented 8 years ago

No, I mean the option auto rotate the image base on EXIF information, not the button to rotate the image.

cstefanache commented 8 years ago

Well look into it in few days. I found this solution: http://stackoverflow.com/questions/7584794/accessing-jpeg-exif-rotation-data-in-javascript-on-the-client-side will take some time because i have limited time in the next week.

tinquang commented 8 years ago

thanks, just take your time and have a good vacation :)

cstefanache commented 8 years ago

Added feature to parse exif information

traveltheworldd commented 7 years ago

I wanner a button to rotate the image thanks thanks !!_

_