Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Mobile Device (safari iOS7) cropping issue #131

Closed
drfarruk opened this issue Dec 9, 2014 · 7 comments
Closed

Mobile Device (safari iOS7) cropping issue #131

drfarruk opened this issue Dec 9, 2014 · 7 comments

Comments

@drfarruk
Copy link

drfarruk commented Dec 9, 2014

The plugin crops images without any problems with most desktop browsers aswell as iOS8 Safari. On Safari iOS7 mobile browser the base64 string passed generated from the 'getDataURL' seems to crop the original image in a very strange way.

Before cropping:
before
After cropping:
after

Any ideas to what could be causing this?

@fengyuanchen
Copy link
Owner

getDataURL uses canvas.toDataURL, you can check it.

@Byte-Lab
Copy link

I am experiencing this issue as well on Chrome iOS7.

@etioun
Copy link

etioun commented Dec 16, 2014

It behaves strangely on iOS8 as well, i think the problem comes from the exif metadata of the picture. To make it work i drew the image in a canvas first. Then i used toDataURL from this canvas to get the image data without the exif metadata.

@4kstore
Copy link

4kstore commented Jan 22, 2015

@etioun can you put an example? I have the same problem and I don't know how to deal with this
Thanks

@juanmiguelbesada
Copy link
Contributor

I think this is related to #120 and #159

@fengyuanchen
Copy link
Owner

Yes, it is the problem of EXIF Image Orientation in some Mac OS / iOS browsers.

@fengyuanchen
Copy link
Owner

This is the same problem as #120 .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants