want to encode the uploaded files to base64 so that I can pass them to the 
request. I couldn't find any info on how to do that. I found that in 
Javascript it can be done with canvas but I don't know how could I 
implement the code in Typescript. Even I need to know how to bind the 
coming base64 image in html please help me
I am getting all other json data except base64.i need to bind it as an 
image.same way i need to post also

my html here ,user can uplod image here as jpeg

<input type="file" id="taxname" [(ngModel)]="spam.ImageData" 
class="form-control browse" value="Browse">

while binding am getting base64 only,how to convert this?. with in one api 
i neeed to get

<td>
                 <span>{{ m.ImgeData }}</span>


             </td>

how can i archive this?

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to