info: using await
BananaAcid opened this issue · comments
Nabil Redmann commented
This is what I use:
let exifData = await new Promise(resolve =>
EXIF.getData(file, function() {
resolve(EXIF.getAllTags(this));
}
));
JavaScript library for reading EXIF image metadata
BananaAcid opened this issue · comments
This is what I use:
let exifData = await new Promise(resolve =>
EXIF.getData(file, function() {
resolve(EXIF.getAllTags(this));
}
));