Skip navigation
dbabichenko
Currently Being Moderated

Extracting JPEG files from Adobe Lightroom previews

Sep 21, 2012 7:48 PM

Tags: #lightroom #java #c++ #c#

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.

 
Replies
  • Victoria Bampton
    4,831 posts
    Apr 1, 2008
    Currently Being Moderated
    Sep 22, 2012 12:08 AM   in reply to dbabichenko

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 22, 2012 1:19 AM   in reply to Victoria Bampton

    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

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points