Hallo Andreas,
ich habe den js-Code von https://codewolfy.com/how-to-read-exif-and-metadata-from-images-using-javascript/ erweitert um
// XMP Ein flexibles Format, das erweiterte Metadaten wie Autor, Beschreibung und Urheberrechtsinformationen speichert.
// which keynames are available in XMP of imagefiles? duckduckgo Search Assist
XMP.getData(file, function() {
var title = XMP.getTag(this, "dc.title"); // The title of the image
var description = XMP.getTag(this, "dc.description"); // A description of the image
var keywords = XMP.getTag(this, "dc.keywords");
var creator = XMP.getTag(this, "dc.creator"); // The creator or author of the image
var rights = XMP.getTag(this, "dc.rights"); // Copyright information for the image
document.getElementById('title').innerText = title ? title : "N/A";
document.getElementById('description').innerText = description ? description : "N/A";
document.getElementById('keywords').innerText = keywords ? keywords : "N/A";
document.getElementById('creator').innerText = creator ? creator : "N/A";
document.getElementById('rights').innerText = rights ? rights : "N/A";
}); // XMP
bekomme aber nicht die gewünschten Infos
Da die Werte mit einem - Minuszeichen angegeben werden statt N/A bin ich nicht bei den richtigen Keys, die Dokumentation zum Thema ist unklar.
Völlig unklar, unter welchen keys GIMP die eingegebenen Werte abspeichert.
Gruß, Linuchs
