This directory contains shared TypeScript code used by both frontend and backend.
types.ts - TypeScript interfaces and typesxmp-parser.ts - XMP parsing and conversion logicThe parser handles Adobe XMP sidecar files and converts them to Lightroom configuration format.
The parser maps common Adobe Camera Raw settings to Lightroom equivalents:
Global Adjustments:
Color Adjustments (HSL):
Vignette Settings:
The parser normalizes XMP values to match Lightroom's expected ranges:
Generates configuration in the format:
LIGHTROOM_PROPERTY_NAME=value
All numeric values are formatted to 6 decimal places for consistency.