Darktable Open-Source RAW Workflow
Sync AI culling selections, star ratings, and tags into Darktable on Windows, macOS, and Linux using non-destructive XMP companion sidecars.
Open-Source RAW Workflow with Darktable
Darktable is a powerful, open-source photography workflow application and non-destructive RAW developer used by photographers worldwide across Windows, macOS, and Linux.
BestShots integrates directly with Darktable through industry-standard Extensible Metadata Platform (XMP) companion sidecars. This preserves your AI star ratings, keeper selections, and culling metadata with zero alteration to your original camera RAW sensor files.
Metadata Mapping Specification
When you export an XMP Sidecar & Workflow Bundle (.zip) from BestShots, all curation decisions are encoded into universal namespaces that Darktable ingests seamlessly:
| BestShots Decision | Darktable Star Rating | Darktable Color Label | XMP Tag |
|---|---|---|---|
| Keep (Hero / 5★) | 5 Stars (★★★★★) | Yellow / Green | xmp:Rating = 5 |
| Keep (Standard / 4★) | 4 Stars (★★★★☆) | Green | xmp:Rating = 4 |
| Unreviewed / Neutral | 0 Stars (Unrated) | None | xmp:Rating = 0 |
| Reject / Discard | -1 (Rejected) | Red | xmp:Rating = -1 |
Keywords such as ai-keep, sharp-focus, and detected subject tags automatically import into Darktable's tagging module for easy filtering in the Lighttable view.
Step-by-Step Darktable Sync Workflow
Follow this procedure to sync BestShots curation decisions into your Darktable collection:
Step 1: Export Workflow Bundle from BestShots
- In your project workspace, click Export in the top navigation bar (or press E).
- Choose XMP Sidecar & Workflow Bundle (.zip).
- Keep the default naming template Keep Original Camera Filenames (
{originalName}) so each sidecar filename matches its RAW master file stem (for example,_DSC4091.CR3paired with_DSC4091.xmp). - Click Start Export and extract the downloaded ZIP archive.
Step 2: Copy Sidecars into your RAW Directory
Copy all exported .xmp companion files into the folder on your hard drive where your camera RAW files reside. Ensure each .xmp file sits immediately next to its corresponding RAW file.
Step 3: Import into Darktable via "Add to Library"
- Launch Darktable and navigate to the Lighttable view.
- In the left panel, locate the Import module.
- Click Add to Library (or choose folder). Navigate to your shoot directory and click Open.
Warning
Always choose Add to Library, not Copy & Import. Add to Library registers your existing local files in place and reads companion .xmp sidecar files automatically. Copy & Import creates duplicates and generates blank sidecars, ignoring pre-existing curation data.
- Darktable indexes your collection: all AI 5-star ratings, color tags, and keyword tags appear instantly across your grid.
Syncing Sidecars for Already-Imported Collections
If you imported your RAW files into Darktable before running BestShots curation, use either of these methods to refresh your catalog:
Method A: Startup Sidecar Change Detection (Recommended)
- In Darktable, click the gear icon (top right) to open Preferences.
- Go to Storage > XMP sidecar files.
- Enable the setting: look for updated xmp files on startup.
- Restart Darktable. On startup, Darktable detects that the companion sidecar files have newer timestamps than its database entries, requesting confirmation to reload the metadata from disk.
Method B: Manual EXIF and Metadata Refresh
- In the Lighttable view, select all photos in the collection (Ctrl + A on Windows/Linux, Cmd + A on macOS).
- In the right-hand panel, expand the Selected Images module.
- Click Refresh EXIF. Darktable re-reads the companion sidecar metadata from disk and refreshes your ratings.
1-Click Desktop Organizer with Darktable
If you want to isolate your approved keeper RAW files before opening Darktable:
- Extract the exported ZIP bundle directly into your local camera RAW folder.
- Run the organizer script:
- On Windows: Double-click
organize_keepers.bat. - On macOS: Double-click
organize_keepers.command.
- On Windows: Double-click
- The script copies all approved keeper RAW files and sidecars into a
BestShots_Keepers/subfolder in under one second. - In Darktable, click Import > Add to Library and select
BestShots_Keepers/to work exclusively with your curated cull selections.
Photo Mechanic Ingest & Culling Workflow
Integrate BestShots AI culling into your Photo Mechanic ingest pipeline with instant contact sheet updates, color classes, and star ratings.
Export Bundles & Filename Templates
Download memory-efficient ZIP archives, apply standardized filename templates, and preserve original RAW camera stems for catalog synchronization.