ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:54:16 AM

Title: How to extract the full size Jpeg preview from a DNG
Post by: Archive on May 12, 2010, 08:54:16 AM
[Originally posted by lejunc on 2008-03-05 22:35:16-08]

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
Title: Re: How to extract the full size Jpeg preview from a DNG
Post by: Archive on May 12, 2010, 08:54:16 AM
[Originally posted by exiftool on 2008-03-05 23:38:51-08]

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
Title: Re: How to extract the full size Jpeg preview from a DNG
Post by: Archive on May 12, 2010, 08:54:16 AM
[Originally posted by bogdan on 2008-03-06 16:25:37-08]

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&gtMediumPreview.jpg

To extract preview image from DNG which has embedded full preview, use:

exiftool -b -JpgFromRaw FileName.dng&gtFullPreview.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
Title: Re: How to extract the full size Jpeg preview from a DNG
Post by: Archive on May 12, 2010, 08:54:16 AM
[Originally posted by lejunc on 2008-03-06 22:13:53-08]

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!
Title: Re: How to extract the full size Jpeg preview from a DNG
Post by: Archive on May 12, 2010, 08:54:16 AM
[Originally posted by bogdan on 2008-03-07 16:06:51-08]

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
Title: Re: How to extract the full size Jpeg preview from a DNG
Post by: Archive on May 12, 2010, 08:54:16 AM
[Originally posted by exiftool on 2008-03-07 16:34:25-08]

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.