Error on downloading canvas snapshot with large file size.

Bugs will be moved here once resolved.

Post » Thu Jan 22, 2015 4:46 pm

Problem Description
Taking a canvas snapshot (canvas is set to 1920x1080), then downloading it with the browser object's invoke download action, browser crashes.

Dropping the window size to 1280x720 for example fixed it, not sure where exactly is the breaking point, but it looks like files that are bigger than 800-900kb cannot be downloaded.

Attach a Capx
https://drive.google.com/file/d/0B3JLq- ... N0c00/view

Steps to Reproduce Bug
  • Step 1 - click on the canvas to download it.

Affected Browsers
  • Chrome: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
windows 7 sp1

Construct 2 Version ID
195
Image
B
71
S
28
G
12
Posts: 515
Reputation: 12,284

Post » Thu Jan 22, 2015 4:49 pm

This could be related to available maximum image size on your system. For me it works up to 2048x2048. This is likely a video card limitation and not a bug.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Thu Jan 22, 2015 4:56 pm

@Somebody
That's not entirely true, if i use the same canvas size with less info in it, which result in better compression and a smaller file size, the image is downloaded with no problem, i believe it has to do with the base64 string size than the actual resolution.

Beside i got a geForce gtx 750 with 2 gigs of rams, i think it should handle a 1920x1080 image just fine and even if it didn't wouldn't it have trouble rendering it to the screen at the first place?
Image
B
71
S
28
G
12
Posts: 515
Reputation: 12,284

Post » Thu Jan 22, 2015 4:57 pm

Worked OK for me also.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Thu Jan 22, 2015 4:59 pm

Works fine for me. I'm guessing it's a card issue.
B
60
S
20
G
56
Posts: 1,077
Reputation: 35,941

Post » Thu Jan 22, 2015 5:02 pm

@zenox98 what is the output file size when you're downloading it?
can you please try higher resolution to see if it breaks?
Image
B
71
S
28
G
12
Posts: 515
Reputation: 12,284

Post » Fri Jan 23, 2015 7:22 am

In my case I had to go real low, like 640x480 to export. Which is strange as in a different project I have been capturing canvas left and right at fairly large sizes. I think this has to do with your background image being a tad big on its own.

Fairly low end Nvidia GeForce GT 640 graphics card on this system. But still, for 2D art it's more than enough.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Fri Jan 23, 2015 8:39 am

By output size, do you mean the size of th file after saving? If so, using you default .capx, the filesize was 2095x1178.

My graphics card is a beast - NVIDIA GeForce GTX 970 - so it can handle almost anything.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Fri Jan 23, 2015 10:04 am

zenox98 wrote:My graphics card is a beast - NVIDIA GeForce GTX 970 - so it can handle almost anything.


Woah. Off topic, but could you run the little "benchmark" demo here on it? effect-adjust-hsb_p877028?#p877028 Just curious.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Tue Jan 27, 2015 6:00 pm

It works in Firefox and IE here, but it crashes Chrome with an "Aw, snap!" message. This means Chrome crashed, not that C2 did anything wrong. I'd recommend exporting your project and submitting the bug directly to Google at crbug.com.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest