Files
spark e5d7ca324f
ci / rust (pull_request) Successful in 10m40s
ci / typescript (pull_request) Failing after 14m31s
fix(library): take the colour Photo Mechanic paints
The desktop re-read the file for a crop and a reject, and left the colour behind. Colour class 1, 3, 4, 5 and 7 become red, yellow, green, blue and purple on the photo.
2026-11-06 21:18:42 +00:00
..

packages/metadata

Photo Mechanic-style metadata, shared by web, desktop and server.

  • template.ts: {variable} templates with modifiers ({sport:upper}, {n:pad3}).
  • codes.ts: code replacement (\v7\ → "Miguel Silva (VSC)"), imported from tab-separated lists.
  • iptc.ts: the IPTC fields we fill, mapped to IIM and XMP tags; applyTemplate and toExiftoolArgs. title holds the names of the people in the photo. IIM length limits are reported, not truncated silently (XMP keeps the full text).
  • vars.ts: the variables every template can use (event, date in Lisbon time, season, players, photographer).
  • paths.ts: folder and file-name templates for deliveries (FPA and Liga examples in DESTINATION_EXAMPLES).

Open point: the target tag for Photo Mechanic's "Creator's Identity" is not mapped yet; confirm it from a file exported by Photo Mechanic.