You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 24, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 24, 2026. It is now read-only.
Yes, @devgeeks mentioned on another issue that this plugin was essentially abandoned, but I figured I would report the issue in case someone else wants to take it over.
I'm slogging through a fix for this issue because I need it ASAP to solve a production issue I have, but I am not an Objective C programmer, so I am fumbling in the dark...
I will post what I find here, and do let me know if you fork this, replace it, or take it over - I can at least help with testing.
OK, I got this working on Cordova iOS 4. I have no idea if what I have done is terrible or not, but it does what I need it to do. This functionality is ancillary to my app, so it's not as critical to me as it may be to you @Createstandard.
I have attached my copy of Canvas2ImagePlugin.m with my changes (as a text file since that's what github supports)
To anyone who might be interested, we just release another plugin to npm, called cordova-plugin-save-image. This plugin is not using bas64 encoded images but file paths to images available on the device already and copies them to the camera roll / Gallery. We have taken some code element from the Canvas2Image plugin, thx a lot for this. In addition we are considering to maybe take over this one (merge with save-image plugin) going forward.
As I said before... I would looooove someone to take this over. It obviously fills a need for some people, but it's not something I am keen to maintain.
Activity
racekarl commentedon Jan 26, 2016
Yes, @devgeeks mentioned on another issue that this plugin was essentially abandoned, but I figured I would report the issue in case someone else wants to take it over.
I'm slogging through a fix for this issue because I need it ASAP to solve a production issue I have, but I am not an Objective C programmer, so I am fumbling in the dark...
I will post what I find here, and do let me know if you fork this, replace it, or take it over - I can at least help with testing.
devgeeks commentedon Jan 26, 2016
@createstandard - I would love someone to take it over :(
I created the plugin originally as a throwaway as an answer to a stack overflow question and it has gotten a bit out of control ;)
racekarl commentedon Jan 26, 2016
OK, I got this working on Cordova iOS 4. I have no idea if what I have done is terrible or not, but it does what I need it to do. This functionality is ancillary to my app, so it's not as critical to me as it may be to you @Createstandard.
I have attached my copy of Canvas2ImagePlugin.m with my changes (as a text file since that's what github supports)
Canvas2ImagePlugin.txt
dataFromBase64String fixed
SebastianSchirmer commentedon Apr 21, 2016
To anyone who might be interested, we just release another plugin to npm, called cordova-plugin-save-image. This plugin is not using bas64 encoded images but file paths to images available on the device already and copies them to the camera roll / Gallery. We have taken some code element from the Canvas2Image plugin, thx a lot for this. In addition we are considering to maybe take over this one (merge with save-image plugin) going forward.
devgeeks commentedon Apr 21, 2016
As I said before... I would looooove someone to take this over. It obviously fills a need for some people, but it's not something I am keen to maintain.
SebastianSchirmer commentedon Apr 22, 2016
Ok, I'll discuss within the team