-
-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toBlob() not working correctly on Safari iOS7 #12
Comments
Here is an example. Running on the iPhone I always get the size 0.
|
Here is a JSFiddle: http://jsfiddle.net/confile/h7zV3/ |
I can reproduce your results in the JSFiddle demo you set up, but I suspect it might have something to do with the particular code of your setup. I'll close this issue for now, please feel free to do a pull request if you can find a bug in the library code itself. |
@blueimp Well I just copied the code from your library. The problem is that toBlob() is not working correctly on iphone safari. Are you sure you get this working? |
Why should the jquery file Upload use canvas to Blob() it is an upload? |
Like I said, please visit the demo I linked to above with Mobile Safari and it will show you recalculated sizes. |
@confile did you work out what the issue was with your code? I'm witnessing an issue on some code i've written that works fine everywhere else, except on iOS devices. I'm converting 2 separate canvas elements, one after another. The first one has a size of about 256kb which is what i'm expecting, but once saved the image fails to open/display. The second blob has a size of 0. Was just wondering if you had any pointers as to what you did to solve the problem… Thanks, and thanks @blueimp for the code in the first place. :-) |
No |
I tried the following
It turns out the the size is very small about 9000 bytes. This is far to low for images made on the iPhone.
Do you have any idea on that?
The text was updated successfully, but these errors were encountered: