ExifTool Forum

General => Metadata => Topic started by: datetime on February 21, 2021, 02:52:40 AM

Title: View Thumbnail? Generate imageuniqueid per image?
Post by: datetime on February 21, 2021, 02:52:40 AM
Hi,

i thought i make a new topic regarding my new questions. Hope its ok.

I saw some thumbnail data on some images,

how exactly do i only view the thumbnail, not the entire image? (in my mind thumbnail means its a small preview of the picture, right?)
and with what command do i delete thumbnails from images?


also i wondered how i generate random imageuniqueid if they not exist PER image if i process multiple images at once?
i found this thread, however the solutions provided are either for linux or for specific images:
https://exiftool.org/forum/index.php?topic=6659.15

But i want to use it with *.jpg but it shall still assign some random imageuniqueid to each seperate image


also i meant to ask if exfitool actively writes this tag to the images:
[ExifTool]      ExifToolVersion                 : 12.18
[ExifTool]      Warning                         : Invalid EXIF text encoding for UserComment
and if i can prevent it from doing so, and how to delete the tag if its already written.

how do i drop "adobe" tags?


thanks so much. great help here!
Title: Re: View Thumbnail? Generate imageuniqueid per image?
Post by: Phil Harvey on February 21, 2021, 07:14:27 AM
Quote from: datetime on February 21, 2021, 02:52:40 AM
how exactly do i only view the thumbnail

You can extract it (if it exists) with this command:

exiftool -thumbnailimage -b -w _thumb.jpg DIR

Quoteand with what command do i delete thumbnails from images?

exiftool -thumbnailimage= DIR

also i wondered how i generate random imageuniqueid if they not exist PER image if i process multiple images at once?

See the NewGUID tag in the Extra Tags (https://exiftool.org/TagNames/Extra.html).

Quotealso i meant to ask if exfitool actively writes this tag to the images:
[ExifTool]      ExifToolVersion                 : 12.18
[ExifTool]      Warning                         : Invalid EXIF text encoding for UserComment
and if i can prevent it from doing so, and how to delete the tag if its already written.

I don't know what you are asking.  Do you mean write ImageUniqueID to a file with a warning about UserComment?  The answer is yes.  Can you prevent it from writing to a file which has this warning?  Not easily.

Quotehow do i drop "adobe" tags?

exiftool -adobe:all= FILE

- Phil
Title: Re: View Thumbnail? Generate imageuniqueid per image?
Post by: datetime on February 21, 2021, 03:00:23 PM
Thanks so much Phil i appreciate your help as i understand it would be somehow possible to find the answers to my questions the hard way looking more hours into all the info already provided!

By my question regarding exiftool:
[ExifTool]      ExifToolVersion                 : 12.18
[ExifTool]      Warning                         : Invalid EXIF text encoding for UserComment

i meant if exiftool writes this "exiftool" tags directly into the file and if they are readable by other programs and if i can prevent those tags.
Title: Re: View Thumbnail? Generate imageuniqueid per image?
Post by: StarGeek on February 21, 2021, 08:07:02 PM
Those tags are not part of the file.  Similarly, any tag that is part of the Composite group are not embedded in the file. 

Exiftool will write to XMP-x:XMPToolkit with a value like Image::ExifTool 12.18 if any xmp tags are written.