I tried to import camera images from iPhone5 retinal iOs7. The following image shows the problem. The stage is the yellow filled rectangle and the image at the top is the image which is imported into the stage.
I created a Jsfiddle to demonstrate the problem here: http://jsfiddle.net/confile/45zdm/
I think that there are two problems the first one is that the pixel ration of 2 might be a problem. When I set
image.height(stage.height())
The image takes only half the height of the stage. This is only the can for images that are taken with the camera. When you import images from screen shots it works fine as I demonstrated in the following image:
The second problem is that images from camera are in the wrong angle so you have to take the exif orientation property into account.
How can I import retina images from iPhone camera into KineticJs to be displayed correctly?
I want to repost my comment from github: https://github.com/ericdrowell/KineticJS/pull/654#issuecomment-40284966
Use fixed canvas instead of image.