• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
jjg

jjg

xmp2reshade

Public
Like
xmp2reshade
Home
Code
5
backend
2
frontend
3
shared
3
README.md
test-sample.xmp
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
shared
/
README.md
Code
/
shared
/
README.md
Search
9/22/2025
Viewing readonly version of main branch: v13
View latest version
README.md

Shared - XMP Parsing Utilities

This directory contains shared TypeScript code used by both frontend and backend.

Files

  • types.ts - TypeScript interfaces and types
  • xmp-parser.ts - XMP parsing and conversion logic

XMP Parser

The parser handles Adobe XMP sidecar files and converts them to Lightroom configuration format.

Supported XMP Properties

The parser maps common Adobe Camera Raw settings to Lightroom equivalents:

Global Adjustments:

  • Exposure, Contrast, Highlights, Shadows, Whites, Blacks
  • Temperature, Tint, Vibrance, Saturation
  • Texture, Clarity, Dehaze

Color Adjustments (HSL):

  • Red, Orange, Yellow, Green, Aqua, Blue, Purple, Magenta
  • Hue, Saturation, and Luminance for each color

Vignette Settings:

  • Amount, Midpoint, Feather, Roundness, Style

Value Normalization

The parser normalizes XMP values to match Lightroom's expected ranges:

  • Percentages (0-100) → Decimals (0.0-1.0)
  • Temperature values scaled appropriately
  • Curve adjustments converted to decimal format

Output Format

Generates configuration in the format:

LIGHTROOM_PROPERTY_NAME=value

All numeric values are formatted to 6 decimal places for consistency.

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.