ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: SimonKravis on April 17, 2024, 08:20:52 AM

Title: Adding thumbnail images does not seem to work
Post by: SimonKravis on April 17, 2024, 08:20:52 AM
I would like to store the full original image as a thumbnail as I propose to modify it but would like to be able to recover the original. If I run exiftool as below

C:\Users\simon\Pictures>exiftool -ThumbnailImage="IMG_0444.JPG" "IMG_0444.JPG"
Warning: [Minor] Not a valid image for Olympus:ThumbnailImage
    0 image files updated
    1 image files unchanged


If I try to extract the thumbnail after applying as above with

exiftool -b -ThumbnailImage IMG_0444.jpg > IMG_0444_thumb.jpg

I get an empty file. What am I doing wrong?
Title: Re: Adding thumbnail images does not seem to work
Post by: Phil Harvey on April 17, 2024, 08:29:04 AM
This is common mistake 5c (https://exiftool.org/mistakes.html#M5).

- Phil
Title: Re: Adding thumbnail images does not seem to work
Post by: SimonKravis on April 18, 2024, 02:20:21 AM
This code worked - needed to replace = with <= and enclose the first param in double quotes as below

exiftool "-ThumbnailImage<=IMG_4049.JPG"  IMG_4049.JPG

Thanks Phil