Skip to main content
Participant
May 5, 2009
Question

Lightroom Command Line Usage?

  • May 5, 2009
  • 5 replies
  • 15141 views

I would like to be able to decompress a raw image into a jpeg and possibly do this via the command line. Does anyone know how to do this or is this even possible? Any suggestion or ideas on doing this?

Thanks for any assistance with this

This topic has been closed for replies.

5 replies

areohbee
Legend
November 9, 2014

Not possible via command line, nor via any means without a plugin.

You may be able to achieve you goals with the help of plugin(s) - more info required..

daradaragh
Participant
November 8, 2014

Hello,

any update on this possibility ?

Mathew L
Participating Frequently
August 1, 2010

Could you not use something like HP QuickTest to record the GUI export sequence within Lightroom and replay it automatically?

areohbee
Legend
August 1, 2010

I think this may be a case where a plugin could come to the rescue.

I wouldn't know what to do just yet because I don't really understand the requirements.

But some brainstorming:

- Make a plugin with a daemon that polls a folder or collection and automatically initiates an export when new or changed photos present themselves.

Well, kind-of a short brainstorm but - your turn.

PS - This post probably should have been targeted at the original poster - You need to give us a better idea of what you are trying to accomplish - I mean, no: Lr does not have command line support, but yes: there are all kinds of things you can do with plugins. So what exactly do you want, and why?

Rob

Participant
November 19, 2014

Rob, the daemon option was my initial thought too. I'd be nice to export over an HTTP API some of the builtin Lightroom functionality. However I looked at the SDK documentation, but I don't see any way to have Lua code running outside the scope of a plugin.

Participant
July 21, 2010

Is there any update to this?

I can imagine Lightroom running on a remote server and cranking out jpegs from raw files automatically as they hit hot folders.

ssprengel
Inspiring
July 21, 2010

Have you tried writing a Photoshop Plugin that works with Adobe Camera RAW? The underlying RAW-engine is basically the same between Camera RAW and Lightroom so depending on what you want to do you would probably get further going that route.

LR and Photoshop are about a human adjusting or at least approving the settings based on what they see on screen, which is the opposite of what you're trying to achieve, it sounds.

If you're interest is merely to create JPGs from RAW files without any human ever being involved, then it is a requirement that Adobe products be used? There are other RAW conversion engines that might lend themselves to programming, such as DCRAW which I believe is open source.

Participant
July 21, 2010

Adobe Bridge and photoshop are something I'm considering.  Basically all settings from color to crop are setup (by humans) on set during the course of a photoshoot.  But we would like to have the raw to jpeg conversion be more automated or handled overnight by a server.  We need whatever process to mirror what was viewed in the capture software (lightroom)  The processing server would read the xmp side car and create either a jpeg or a tif based on some sort of trigger or hot folder.

bob1367Author
Participant
May 5, 2009

Forgot to note that the target OS is Windows XP running Lightroom 2.3

john beardsworth
Community Expert
Community Expert
May 5, 2009

Lightroom doesn't have a command line interface. What's the bigger picture? Where does Lightroom fit into what you're trying to achieve?

John

Participant
September 10, 2009

I'm a software developer and interested in using lightroom to develop raw images, but would like to use LR programatically, as opposed to working via the LR user-interface. I understand there's no command line interface -- is there any other way to utilitze LR from other programs?  I see there's an SDK, but it seems to just be for developing plug-ins, which wouldn't seem to help.