My ET-fu is simply not strong enough. How to extract the photoshop:photoshopthumbnail rename the extraction originalfile_thumb.jpg AND copy the ICC profile of the source into the thumbnail? Is this possible with ExifTool? I suspect a Master could do it in one command!??
exiftool -b -photoshop:photoshopthumbnail originalfile.psd > thumbnail.jpg
That's all I got. : /
- J
I don't think it can be done in one command without a config file. In this post (https://exiftool.org/forum/index.php?topic=9380.msg63389#msg63389) Phil created a user defined tag to extract a thumbnail and apply the correct orientation.
The only other way I can think of would be to pipe the binary output of one exiftool command into a second exiftool command that would use -TagsFromFile (https://exiftool.org/exiftool_pod.html#tagsFromFile-SRCFILE-or-FMT) to copy the data, but this would be inefficient and slow, as it would be calling exiftool twice for each file. In batch, it would be better to just extract all the thumbnails in one command and then copy in another. See this example command (https://exiftool.org/exiftool_pod.html#exiftool--b--jpgfromraw--w-d-f_-ue.jpg--execute--b--previewimage--w-d-f_-ue.jpg--execute--tagsfromfile--srcfile-d-f_-ue.jpg--overwrite_original--common_args---ext-jpg-DIR).