I want to download base 64 data into ppt and pdf format.
var myEl = angular.element(document.querySelector('#image'));
var val = myEl.append($compile('<img src="data:image/gif;base64,' +
$scope.Image + '"/>')($scope));
console.log(val)
This is the code which convert base 64 to image
Thanks in advance
您可以使用一些在线API,例如rethumb
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.