Thread

Posted on Thu Mar 6 00:35:16 2008 by lejunc
How to extract the full size Jpeg preview from a DNG
I'm stumped. I thought this would be obvious and easy, but no luck. I'd like to extract the full size jpeg preview from a DNG. Ultimately I'd like to batch/automate this process, but right now I'd be happy to find a solution. I have found that Photo Mechanic from Camera Bits will do it, but surely there must be more. I need a Mac solution, but a Mac and Windows solution would be very helpful. I downloaded ExifTool, which I thought would do it (and maybe does, but the command line stuff is beyond me). Any help would be greatly appreciated, Lee
Direct Responses: 7277 | 7279 | Write a response
Posted on Thu Mar 6 01:38:51 2008 by exiftool in response to 7276
Re: How to extract the full size Jpeg preview from a DNG
Hi Lee,

See the "READING EXAMPLES" section in the application documentation? It contains examples to do exactly this.

Type "exiftool" with no arguments to see this documentation.

- Phil
Write a response
Posted on Thu Mar 6 18:25:37 2008 by bogdan in response to 7276
Re: How to extract the full size Jpeg preview from a DNG
Hi,

Adobe DNG Converter (and Lightroom, AFAIK) can create DNG file which can contain medium or full size preview (but not both in single file). Before extracting preview, you should know which size DNG contain.

To extract medium preview, use:
exiftool -b -PreviewImage FileName.dng>MediumPreview.jpg

To extract preview image from DNG which has embedded full preview, use:
exiftool -b -JpgFromRaw FileName.dng>FullPreview.jpg

So, for example, using -JpgFromRaw with dng which has embedded Medium size preview, will give you nothing.
I hope that will help you... Greetings,
Bogdan
Direct Responses: 7283 | Write a response
Posted on Fri Mar 7 00:13:53 2008 by lejunc in response to 7279
Re: How to extract the full size Jpeg preview from a DNG
Thanks for the advice, I really appreciate it. I will read and test it this weekend. Do you know if something like this has been scripted to work with say, Automator on the Mac? Would love to point to a folder and have all of the previews pulled from the DNG's. Thanks again!
Direct Responses: 7289 | Write a response
Posted on Fri Mar 7 18:06:51 2008 by bogdan in response to 7283
Re: How to extract the full size Jpeg preview from a DNG
Sorry, I'm not familiar with Mac usage at all. But, I'm quite sure, using ExifTool, everything is possible.
Anway, if you're serious abour metadata, it really is worth to spend some time with ExifTool docs and tryout some (at least) basic things -to get the feeling "how stuff works" :-)

Greetings,
Bogdan
Direct Responses: 7290 | Write a response
Posted on Fri Mar 7 18:34:25 2008 by exiftool in response to 7289
Re: How to extract the full size Jpeg preview from a DNG
Check out the Related Utilities section on the exiftool home page. The first link in this section is for a stand-alone OS-X script that does this.
Write a response