Re:Show HN: JavaScript Instagram-like Filters
by maxjaderberg on Sunday February 05, 2012 @02:26PM
(#3554913)
this is very good! is it possible to save the filtered images locally?
[ Parent
| on HN ]
Re:Show HN: JavaScript Instagram-like Filters
by jamesflorentino on Sunday February 05, 2012 @03:00PM
(#3555037)
Try this one:
https://gist.github.com/1747707
It basically uses the toDataURL() method to get the image data of the canvas.
Re:Show HN: JavaScript Instagram-like Filters
by franze on Sunday February 05, 2012 @03:28PM
(#3555138)
well, this method downloads a file without a .png at the end (and most users are overwhelmed with the task of renaming a file)
think there is something coming with BlobBuilder and FileSaver, but i haven't hat time yet to give it a spin http://dev.w3.org/2009/dap/file-system/file-writer.html#idl-... and an example here http://updates.html5rocks.com/2011/08/Saving-generated-files...