Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert base64 formatted data to image using AngularJs

$http({
        method: 'GET',
        url: '/Home/GetEmployeeDetail',
        params: { ID: $scope.PersonID }
    }).then(function (result) {
        var base64 = result.data.Image;
  
        $scope.img = base64;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #formatted #data #image #AngularJs
ADD COMMENT
Topic
Name
4+7 =