Write ratings, keywords, hierarchy and IPTC to XMP

Sidecars and JPEG exports now carry xmp:Rating, xmp:Label, dc:subject and
lr:hierarchicalSubject plus the IPTC core, and importing a sidecar applies its
cataloguing fields independently of its develop settings. Hierarchical keywords
keep leaf terms in the flat list, so search and filters are unchanged.
This commit is contained in:
2026-12-02 03:30:57 +00:00
parent fa0a7e64ef
commit 7f0838156b
11 changed files with 808 additions and 27 deletions
+4
View File
@@ -157,6 +157,8 @@ interface Props {
onVirtualCopy: () => void;
metadataPresets: MetadataPreset[];
keywordLibrary: string[];
/** Hierarchical paths already in the library, for metadata suggestions. */
keywordPathLibrary?: string[];
onSaveSnapshot: (name: string) => void;
onRestoreSnapshot: (snapshot: Snapshot) => void;
onDeleteSnapshot: (snapshot: Snapshot) => void;
@@ -191,6 +193,7 @@ export default function Develop({
onVirtualCopy,
metadataPresets,
keywordLibrary,
keywordPathLibrary = [],
onSaveSnapshot,
onRestoreSnapshot,
onDeleteSnapshot,
@@ -1773,6 +1776,7 @@ export default function Develop({
onUpdate={(patch) => onUpdate(photo.id, patch)}
presets={metadataPresets}
keywordLibrary={keywordLibrary}
keywordPathLibrary={keywordPathLibrary}
onSavePreset={onSaveMetadataPreset}
onDeletePreset={onDeleteMetadataPreset}
/>