Answer the question
In order to leave comments, you need to log in
How to get an image from metadata?
Got exif pictures, how to get the picture itself??
Answer the question
In order to leave comments, you need to log in
let{ data } = exif
let base64String = "";
for (const i = 0; i < data.length; i++) {
base64String += String.fromCharCode(data[i]);
}
img.src = `data:${data.format};base64,${window.btoa(base64String)}`;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question