Error on downloading canvas snapshot with large file size.

Bugs will be moved here once resolved.

Post » Wed Jan 28, 2015 9:57 am

Ok, i posted the error:
https://code.google.com/p/chromium/issu ... ?id=452831

Although i can't get it to work on IE as well, i don't get an error and i do get a string back to download but it seems like it's a blank canvas.
Image
B
80
S
30
G
12
Posts: 517
Reputation: 12,713

Post » Tue Aug 11, 2015 2:41 pm

@Lof Did you find a fix for the crash? I am also having a problem with a project of mine, Same Canvas size but it depends on the image complexity . Some images will crash the browser and some will not.
B
82
S
21
G
23
Posts: 520
Reputation: 18,737

Post » Tue Aug 11, 2015 3:11 pm

No unfortunately file larger than around 800 kb cannot be downloaded, I changed the export url action to export a jpg with 0.6 quality instead of png 1.0 working with a 2048x2048 canvas size should work ok, that's the best I could get.
Image
B
80
S
30
G
12
Posts: 517
Reputation: 12,713

Post » Tue Aug 11, 2015 5:26 pm

@Lof I wanted to use the Canvas plugin and capture only a specific layer, but I could not specify PNG or JPEG format, instead now I am using the system canvas capture and specify JPEG with lower quality and is working. Thanks
B
82
S
21
G
23
Posts: 520
Reputation: 18,737

Post » Tue Aug 11, 2015 5:28 pm

you can edit the runtime.js of the canvas plugin
search for URL and replace the line of code with this
ret.set_string(this.canvas.toDataURL('image/jpg',0.6));

or any other format/value you like.
Image
B
80
S
30
G
12
Posts: 517
Reputation: 12,713

Previous

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests