Skip to content

Instantly share code, notes, and snippets.

@ai2ys
Created November 3, 2023 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ai2ys/df94c2a593069bfd52c0a39e515175e0 to your computer and use it in GitHub Desktop.
Save ai2ys/df94c2a593069bfd52c0a39e515175e0 to your computer and use it in GitHub Desktop.
Exiftool: extract thumbnails and XMP from DNG files

Exiftool

https://exiftool.org/exiftool_pod.html

Extract embedded thumbails from DNG files

exiftool -a -b -W %d%f_%t%-c.%s -preview:all <directory containing DNGs>
exiftool -a -b -W %d%f_%t%-c.%s -preview:all <DNG filepath>

Extract XMP data from DNG files

exiftool -a -b -W %d%f_%t%-c.%s -xmp <DNG filepath>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment