devgeeks/Canvas2ImagePlugin — pull request #28 by SansWord (2013-12-26 14:10:35+00:00)
Title: Add saveDataStringAsImageDataToLibrary api, input datastring as parameter.

Since canvas on mobile safari has limitation of width and height,
FYI: http://stackoverflow.com/questions/6081483/maximum-size-of-a-canvas-element
We can not always using canvas to generate dataURL.

So we extends your helpful plugin with one extra api to have string as data to store into Library.

And then we can use XHR to grab a image as blob and then using FileReader#readAsDataURL to read out DataURL.
Then save it into Library.

It works for our project, hopefully can make this Plugin more helpful for others.