- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I’m creating a photo editing app.
* User take the picture
* The photo go to the screen which will add hat, hair, eyebrows and other objects.
* DIV edited with imagens and picture convert to imagem.
$(document).ready(function() { var conteudo = sessionStorage.getItem('pictureEdited'); var getImage; var image; $('div[class="picture_final"]').html(content); html2canvas(document.getElementById('picture'), { onrendered: function(canvas) { console.log(canvas.toDataURL("image/png", 1.0)); image = new Image(); image.src = canvas.toDataURL("image/png", 1.0); } }); }
var image.src have (in resume) this :
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA....JCX0ncoDi60EQEE2l8grP97xP8tav/a+fDEeT9PlYb6utC60rHnavL/pgwCeFFjfskAAAAASUVORK5CYII=
how i save image generated in photo library in android/ios?
- Tags:
- HTML5
- Intel® XDK
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recommend reviewing with of these resource which may address what you are looking for:
- http://stackoverflow.com/questions/29284248/how-to-save-an-image-object-into-a-file-in-android-with-phonegap
- http://stackoverflow.com/questions/21577230/phonegap-save-image-from-url-into-device-photo-gallery
- https://www.npmjs.com/package/cordova-save-image-gallery
- https://www.npmjs.com/package/cordova-plugin-save-image
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page