I’m writing an little script to perform some modification on an image before uploading it with the canvas api.
All was perfect before I test it on IOS6. When you choose to take a file from your camera on portrait mode, when i insert the blob in the canvas, the image is not on the good orientation and deformed.
If you have IOS6 you can test it here :
It is a IOS6 bug or something got wrong in my code ?
Thank you !
There is a solution here :
https://github.com/gokercebeci/canvasResize
demo : http://canvasresize.gokercebeci.com/
(via IOS6 and Safari Photo Uploading – File API + Canvas + jQuery Ajax Uploading and Resizing Files Asynchronously)