[Demo] : save images on disk

Show us your completed creations made in Construct 2

Post » Mon Oct 22, 2012 6:17 pm

I updated my FileSaver plugin. You can now save images on disk !
http://www.scirra.com/forum/plugin-filesaver_topic49803_page1.html

A demo with snapshots from the webcam :

https://dl.dropbox.com/u/1412774/SaveImageDemo/index.html
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Tue Oct 23, 2012 5:17 pm

Not working on chrome 21.0.1180.83 m with my notebook webcam;(
I click allow but theres just a black image showing.
Dont know if it helps, but Console gives me this:

Creating Application Cache with manifest https://dl.dropbox.com/u/1412774/SaveImageDemo/offline.appcache
Application Cache Checking event
Application Cache Downloading event
Application Cache Progress event (0 of 5) https://dl.dropbox.com/u/1412774/SaveImageDemo/index.html
Application Cache Progress event (1 of 5) https://dl.dropbox.com/u/1412774/SaveImageDemo/FileSaver.js
BlobBuilder is deprecated. Use "Blob" constructor instead.
Application Cache Progress event (2 of 5) https://dl.dropbox.com/u/1412774/SaveImageDemo/jquery-1.7.1.min.js
Application Cache Progress event (3 of 5) https://dl.dropbox.com/u/1412774/SaveImageDemo/c2runtime.js
Application Cache Progress event (4 of 5) https://dl.dropbox.com/u/1412774/SaveImageDemo/logo.png
Application Cache Progress event (5 of 5)
Application Cache Cached event
B
38
S
8
G
3
Posts: 438
Reputation: 6,869

Post » Tue Oct 23, 2012 5:48 pm

Working here on Chrome 22.0.1229.94 m
Image Image
B
161
S
48
G
91
Posts: 7,358
Reputation: 67,271

Post » Tue Oct 23, 2012 6:13 pm

@newt : I need to show you more respect, you seem wiser than me .
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Tue Oct 23, 2012 6:13 pm

@sheepy : strange, newt has a more recent build, and it's working...
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Tue Oct 23, 2012 6:43 pm

o_o toys
B
11
S
3
G
2
Posts: 110
Reputation: 2,410

Post » Wed Oct 24, 2012 11:23 am

saw the ipad :P
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Sun Nov 18, 2012 1:44 am

Does this plugin just work with a webcam? Or can it save images to disk such as from a target section from a layout?
B
20
S
4
G
2
Posts: 124
Reputation: 2,482

Post » Sun Nov 18, 2012 10:34 pm

I have the same question isometricrobot...
B
31
S
6
G
3
Posts: 67
Reputation: 3,526

Post » Mon Nov 19, 2012 1:04 am

Filesaver plug can be used to save images or text files.



In the above example: (using MultilineBox plugin also)
1, I used the FileReader plugin to load new image texture for a sprite.
2, Clicking 'save1' button saves the texture as 'PIC.png'
3, Clicking 'save2' button saves the image as 'test.txt' (Base64)
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Next

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 6 guests