InDesign 16 (aka 2021) stores preview images of all pages seemingly within the same tag:
xmp:xmp-xmp:pageimage (w) (Binary data 27089 bytes, use -b option to extract), (Binary data 74496 bytes, use -b option to extract), (Binary data 47958 bytes, use -b option to extract), (Binary data 64120 bytes, use -b option to extract), (Binary data 47139 bytes, use -b option to extract), (Binary data 51661 bytes, use -b option to extract), (Binary data 46321 bytes, use -b option to extract)
Is there a way to extract all of the page images in one command, knowing that the command needs to be able to handle varying numbers of pages? Or must such logic live outside ExifTool? (Using 12.10 here.)
Thanks for considering this matter! : )
- J
Take a look at the -W (-TagOut) option (https://exiftool.org/exiftool_pod.html#W-FMT--tagOut). See this example (https://exiftool.org/exiftool_pod.html#exiftool--a--b--W-d-f_-t--c.-s--preview:all-dir) for usage.
Thanks so much! I was able to make it work. I appreciate your taking the time to point me in the right direction. : )
-J