I'm building an AngularJS Application, for Service I'm using .NET C# for coding purpose. Now I'm following the Code Structure as mentioned in the following Post Load image from C# Byte array and place image in html tag using AngularJS -
But in the said approach they are sending the Image as a Base64 Sting and here we are binding the Base64 in Angular HTML. It degrades the performance of loading. In one of my post I got an relevant answer Compress a Byte Array Image without Scaling using .Net C#, it stated "Send the data usual instead of Base64" string.
Kindly assist me how to display a Byte Array Image in HTML <img />
Tag. Currently I'm using the following
<img ng-src="data:image/jpeg;base64,{{ image.Content }}" />