Show Base64 image in html

علی ذوالفقار
1402/12/23 13:59:01 (151)
string baseStr64="/9j/4AAQSkZJRgABAQE...";
imgElem.setAttribute('src', "data:image/jpg;base64," + baseStr64);

<img id="imgElem"></img>
Back