Repository navigation
Metadata
Metadata is what a file says about the picture or recording it holds: its title, tags, rating and description, when and where it was taken, what took it, and who is in it. Diffractor reads it from the file, and writes your edits back into the file or into an XMP sidecar beside it, in the standard places other programs read. Its index keeps a copy so searching is fast, but the file stays the record: the index can be rebuilt from your files at any time.
The website describes the tasks that edit metadata. This page is the reference beneath them.
| Format | Read from | Diffractor writes |
|---|---|---|
| JPEG, TIFF, PSD | EXIF, IPTC and XMP | XMP, and the EXIF and IPTC fields an edit sets |
| PNG, GIF | XMP, and a PNG's EXIF | XMP |
| WebP | EXIF and XMP | XMP, and the EXIF it holds |
| HEIC, AVIF | EXIF and XMP | XMP, and the EXIF it holds |
| JPEG XL | EXIF and XMP, compressed or not | XMP, and the EXIF it holds |
| Camera raw | EXIF, and XMP in the file or its sidecar | An XMP sidecar |
| DNG | EXIF and XMP, or its sidecar's XMP when it has one | Its sidecar when it has one, otherwise the DNG |
| JPEG 2000 (JPX), WBMP, MPEG streams (MPG, VOB, MP2) | An XMP sidecar | An XMP sidecar |
| MP4, MOV, M4A | QuickTime and iTunes tags, XMP | XMP; tags and rating in the Xtra box Windows reads, the created date in the movie header, copyright in cprt
|
| MP3 | ID3v2, XMP | XMP, and the ID3v2 text frames and POPM rating an edit sets |
| WAV, AVI | RIFF INFO, XMP |
XMP, and the LIST INFO fields an edit sets |
| WMV, WMA, ASF | Windows Media attributes, XMP | XMP, and the title, author, description, copyright, WM/Category and WM/SharedUserRating an edit sets |
| FLV |
onMetaData, XMP |
XMP |
| MKV, WebM, FLAC, Ogg, AIFF | Their tags, and an AIFF's or FLAC's XMP | Nothing: these are read only |
A sidecar Diffractor creates is named for its file with the extension .xmp, so IMG_0042.CR2 keeps its edits in IMG_0042.xmp. Rename, Move, Copy and Import take sidecars along with their files.
An edit starts from the file's existing metadata and writes only the fields it changes, so tags Diffractor does not show are never rewritten. A write either finishes and refreshes the index, or stops and names the reason - the file is locked or read only, its format cannot hold that field, or the file is damaged. Metadata writes make no backup copy unless the operation says it does.
| Property | XMP | EXIF | IPTC | Audio and video tags |
|---|---|---|---|---|
| Title | dc:title |
XPTitle | Object Name | The title of ID3, RIFF, QuickTime, ASF and Matroska |
| Description | dc:description |
ImageDescription, else XPSubject | Caption | MP4 description, RIFF ISBJ, Matroska DESCRIPTION
|
| Comment |
xmpDM:logComment, else exif:UserComment
|
UserComment, else XPComment | The comment of ID3, RIFF and QuickTime; ASF description | |
| Synopsis | xmpDM:synopsis |
MP4 ldes, Matroska SYNOPSIS
|
||
| Tags | dc:subject |
XPKeywords | Keywords | MP4 and QuickTime keywords, RIFF IKEY, ASF WM/Category, Matroska KEYWORDS
|
| Rating |
xmp:Rating, with MicrosoftPhoto:Rating
|
Rating and RatingPercent | ID3 POPM, ASF WM/SharedUserRating, MP4 Xtra, Matroska RATING
|
|
| Label | xmp:Label |
|||
| Artist | xmpDM:artist |
Artist, else XPAuthor | By-lines | The artist of ID3, RIFF and QuickTime; ASF author |
| Creator | dc:creator |
Written to Artist | Written to By-lines | Written as ASF's author where no artist is set |
| Album, album artist, genre, track, disc, show, season, episode |
xmpDM: of each |
The fields of each in ID3, QuickTime and iTunes, RIFF and Matroska | ||
| Copyright |
dc:rights, its URL xmpRights:WebStatement
|
Copyright | Copyright Notice | ID3, RIFF, ASF and MP4 cprt copyright |
| Credit, source |
photoshop:Credit, photoshop:Source
|
Credit, Source | ||
| City, state, country |
photoshop:City, State, Country
|
City, Province/State, Country | ||
| Location |
exif:GPSLatitude, GPSLongitude
|
GPS, with altitude and speed | ISO 6709 location (©xyz) |
|
| Camera, lens, exposure |
tiff:Make, tiff:Model, aux:Lens, exif:FNumber, ExposureTime, FocalLength
|
Their EXIF tags | QuickTime make and model; an AVCHD camcorder's maker and model | |
| People and their faces |
mwg-rs face regions, else Microsoft's regions; Iptc4xmpExt:PersonInImage
|
A photo's EXIF is read first, then its IPTC, then its XMP; a recording's container tags first, then a media manager's .nfo (below), then its XMP. What a later block states replaces what an earlier one gave, so XMP wins. An XMP property states its value by being present at all, even empty: an empty dc:subject means no tags, while a missing one leaves the EXIF and IPTC keywords in place. IPTC's keywords and by-lines join EXIF's rather than replacing them.
Ratings are stars from 1 to 5, 0 for none and -1 for rejected, as xmp:Rating has them. Windows' percent scales are converted, and an MP3's POPM rating is read from Windows Media Player's frame, else the first, on Windows Media Player's scale. The QuickTime rtng atom is a content advisory, not a rating, and is not read as one.
A file can carry a dozen dates that disagree, so Diffractor resolves them into three, each from the highest-ranked source the file gives:
| Date | Meaning | Sources, highest first |
|---|---|---|
| Original | When the content was made: the shutter fired, the tape rolled | EXIF DateTimeOriginal, exif:DateTimeOriginal, IPTC Date Created, an ID3 original release date, a media manager's .nfo, a film's or episode's file name, photoshop:DateCreated, the date Windows gives a cloud file not yet downloaded |
| Created | When this file or encoding was made | EXIF DateTimeDigitized, exif:DateTimeDigitized, IPTC Digital Creation Date, xmp:CreateDate, the container's creation time, a rip date, the file system's creation time |
| Modified | When the file last changed | The file system's modification time, then EXIF DateTime, then xmp:ModifyDate
|
Where one date is shown, it is Original, else Created, else Modified. The details pane names the tag each date came from. A date keeps the zone the file states: a UTC instant, such as an MP4 movie header holds, is converted for display, while a camera's local time stays the time its clock showed. Placeholder dates - before 1800, or 1 January 1970 or 1904, a clock never set - are ignored.
An edited Original is written to photoshop:DateCreated and exif:DateTimeOriginal, and an edited Created to xmp:CreateDate and exif:DateTimeDigitized, and to the format's own date fields where it keeps them. A metadata save never writes a file system date.
The names other organizers write into a photo - Lightroom, digiKam, Picasa and Windows Photo Gallery among them - are read as people and searchable with person:, whether or not face scanning is on:
-
Metadata Working Group regions: each
mwg-rs:RegionListitem of typeFace, its name and area. -
Microsoft's regions:
MPReg:PersonDisplayNameand its rectangle, read only from a file holding nomwg-rsface. -
Iptc4xmpExt:PersonInImage: a name without an area.
A name given only as a keyword, in dc:subject or as People|Jane Doe in lr:hierarchicalSubject, stays a tag, since it does not say which face it means. Names Diffractor learns from you are kept in its own face database, not written into your photos; renaming a person whom files already name does change the name in those files. See Faces.
A video's file name often says what it is: a film's title and year (Dune.2021.2160p.WEB-DL), or an episode's show, season and number (Show.S01E02, 1x02, a dated Show.2024.01.07). These fill only what the file's own tags leave out, and are never written to the file. An episode whose name leaves out its show takes it from its folders: Show/Season 2/S02E05.mkv. What a collection folder holds, set in Options, decides whether its videos are read as films and episodes at all.
With the .nfo option on, the .nfo file Kodi, Jellyfin or Emby keeps beside a video gives its title, plot, genres, studio, year, show, season, episode and air date. A track or film with no art of its own takes the art beside it: an album's Folder.jpg, cover.jpg or front.jpg, or a video's Movie-poster.jpg.
Some properties describe how a file was made and are never written:
-
How a picture or video is coded: its colour profile (
sRGB,Display P3,BT.2020and others), its bit depth, a video's frame rate, whether it is HDR - PQ, HLG, or a photo with a gain map - and whether it is animated or has transparency. Search them withcolor:,bits:,fps:andhdr:. -
Panoramas are only those a file declares in Google's
GPanometadata; a wide picture alone is not one. -
Commodore 64 disks and tapes are titled by the name they give themselves, and list the names of the files they hold, which
contents:searches. - Duration, streams and codecs come from the container.
To see everything a file holds, turn on Show verbose metadata in the details pane: every tag including unnamed ones, the maker note for common cameras, derived values such as crop factor and hyperfocal distance, and the embedded thumbnail.
Using Diffractor
- Search reference
- Formats and codecs
- Metadata
- Name templates
- Faces
- Lossless video editing
- Movie projects (.dfv)
- Commodore 64
Automating
Behind the scenes