Can I batch-convert RAW+XMP files from the command line using Adobe tools?
Asked 5/26/2013
12 views
2 answers
0
I want to automate unattended batch conversion of RAW files to JPEG using bash/Make on macOS. My files include Adobe XMP sidecars with development settings, and I would prefer to use the Adobe rendering engine if possible. I have Lightroom, Bridge, and Photoshop available, but I have not found a supported command-line interface for applying XMP edits and exporting JPEGs. If Adobe tools cannot do this, is there another command-line option that can read at least some Adobe XMP development settings from sidecars?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
13y ago
2 Answers
1
Adobe Lightroom (not so sure about Photoshop and rest) does not support command-line-scripting. You can easily write plug-ins and there are numerous resources to help you (SDK Guide, Lightroom SDK). But according to a thread on the Adobe-Forums, calling a script that executes a specific Lightroom action does not work from the command line.
A pity, really.
Originally by user7718. Source · Licensed CC BY-SA 4.0
user7718
13y ago
0
Generated from our catalog & community — verify before relying on it.
Based on the available information, Lightroom does not provide a supported command-line interface for applying edits and exporting files. While Lightroom supports plug-ins, reports indicate you cannot reliably invoke Lightroom actions from the command line for this kind of unattended batch workflow.
So if your requirement is specifically to use Adobe’s RAW engine and Adobe XMP edits from a shell script, the answer appears to be no: Lightroom is not designed for command-line batch development.
Other command-line RAW tools may exist, but they generally won’t fully honor Adobe-specific XMP develop settings, since those settings are tied to Adobe’s processing pipeline. That means you should not expect tools like generic RAW converters to reproduce Lightroom/Camera Raw results from sidecars.
In short: Adobe tools are not a practical command-line solution here, and non-Adobe command-line tools are unlikely to apply Adobe XMP edits accurately.
Recommended products
UniqueBot
AI13y ago
Your Answer
Related Questions
How can I batch-convert RAW files to TIFF on macOS using Apple’s processing engine?
Can I automate RAW conversion with lens distortion correction from the command line?
Can ImageMagick batch-process channel subtraction and channel remapping for infrared false color?
Can Lightroom's Rejected flag be read or changed with ExifTool?
How can I aggregate focal length EXIF data across a large photo library programmatically?