Skip to main content
Participant
September 22, 2012
Question

Extracting JPEG files from Adobe Lightroom previews

  • September 22, 2012
  • 1 reply
  • 2231 views

I need to figure out how to extract previews from Adobe Lightroom as JPEG files.  I am trying to develop an external app that will read Lightroom's plugins - I need to do it in either C++, C# or Java.  So far all examples I found were in Lua.  Any help/code examples would be greatly appreciated.

This topic has been closed for replies.

1 reply

Victoria Bampton LR Queen
Community Expert
Community Expert
September 22, 2012

If you just need access to the previews, try this: http://regex.info/blog/lightroom-goodies/preview-extraction

If you actually need help building it, let me know and I'll move this to the SDK subforum where you may get a little more assistance on that.

Victoria - The Lightroom Queen
areohbee
Legend
September 22, 2012

I think he is looking for C/Java code, not a script/plugin.

In any case, anybody looking to recover previews should be aware that most plugins or external apps DO NOT assign a proper ICC profile to the extracted previews. The extracted previews are *usually*, meaning NOT ALWAYS AdobeRGB, but untagged: will be interpreted as sRGB. Yeah, that's why they will look different than the original.

I don't know about JF's plugin.

(Adobe's recovery script does NOT handle ICC profiles correctly).

PreviewExporter is the only plugin I know of that handles ICC profiles properly - if anybody knows how JF's plugin handles ICC profiles - do tell.

Note: PreviewExporter includes source code - it should be straight-forward to translate to C/Java.

Rob