-
Notifications
You must be signed in to change notification settings - Fork 96
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
Export fails with large image #4
Comments
thank you for reporing this. since this seems to work fine for me on firefox and chrome on windows, so i suspect it is a hardware or operating system related issue. @belzecue can can you provide a bit more info about the operating system and browser used (and if possible details about the hardware?) thank you! |
Win7 64-bit, AMD X4 640, 8gig ram. At the time, I tried in Firefox after it failed in Chrome and it appeared to fail also, but I think I didn't wait long enough -- on another attempt with Firefox just now with the same large pic it exported okay after a delay of 10 seconds before the save dialog pops up. But I can load smaller pics and export them fine. Tested again just now and the big one continues to crash the tab ("aw snap"). More Chrome testing: incognito window, still crashes; clean profile (freshly generated, no plugins), still crashes with the same large pic. |
thank you for testing! |
I just did some more research on this, and apparently the exported image cannot be larger than 2MB in Chrome, 128KB in Safari and 32 KB in some IE versions ( http://stackoverflow.com/a/6167680/229189 ). So it looks like the only way to fix this is to set a size limit for the canvas. All images that are larger than the maximum size will get scaled down automatically. |
Probably not unexpectedly, exporting fails with a large image. Try: https://iammadeofrobots.files.wordpress.com/2013/09/asianeyes.jpg
The text was updated successfully, but these errors were encountered: