-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Take this file for example, when I run exiftool -Keywords Keywords.jpg
from the command line I get:
x0x,November,8,8,2020,Linze,Linz,Österreich,AUSTRIA,Oceane,Dodin,vom,of,Frankreich,France,im,in,Klage,action,während,during,der,the,Zweite,second,Qualifikatio,qualifications,Runde,round,am,at,der,the,2020,Ober,Upper,Österreich,Austria,Kolleginnen,Ladies,Linze,Linz,WTA,Tennis,Damen,Internationales,International,Tennisplatz,tennis,Turnier,tournament,gegen,against,Laurae,Laura,Ionana,Paar,vom,of,Rumänien,Romania,Linze,Linz,Österreich,AUSTRIA,2020,quer,2020,Österreich,Austria,Linze,Linz,Sportart,Tennisplatz,Tennis,Ober,Upper,Kolleginnen,Ladies,WTA,ZSPORT,ZTENNIS,zselect,zagency,zwire,AFP7_Rob.Prange.-.AFP7_081120_0005.jpg,zlast24,ZUMAest,ZUMA,Presse,Press,zumapress.com,20201108_zaa_a181_018.jpg,bilder,des,tages,highlight,
But when I use the following code, the Keywords
are empty..
const args = [
"-json",
"-g0", // -groupHeadings
"-E", // Escape tag values for HTML
];
const tags = await exiftool.parseMetadata(file, {
args,
transform: (data) => JSON.parse(data),
});
console.log(tags);