Download and HTML5 Canvas on iOS6

I am writing a little script to make some changes to the image before loading it using the canvas api.

Everything was perfect before I tested it on iOS6. When you decide to take a file from your camera in portrait mode, when I insert a frame into the canvas, the image is not in good orientation and is deformed.

If you have iOS6, you can check it out here:

http://jsfiddle.net/uKnAR/3/

Is this an iOS6 bug or is there something wrong in my code?

Thanks!

+4
source share

Source: https://habr.com/ru/post/1434573/


All Articles