Windows Explorer Thumbnails

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
oddball508

Windows Explorer Thumbnails

Post by oddball508 »

I have used ImageMagick on an number of jpg files to do a number of different combinations of "-flip", "-flog", and "-negate". The images have worked fine but the thumbnail view of the file in WindowsXP explorer shows the old version of the file (ie without the flip, flop of negate).

Any ideas?

Thanks
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Post by el_supremo »

It is extracting and showing the thumbnail image that is embedded within the jpg file.
If you add a -strip argument to your convert command it will remove the thumbnail (and all exif and profiles too) and then XP will show you the actual image because it has to create a thumbnail from the "real thing".

Pete
oddball508

Post by oddball508 »

Thanks Pete
Is there anyway to control -strip? Or is there anything a little less powerfull? I need to keep the EXIF info.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

Use jhead -dt to remove just the thumbnail. It can also extract the thumbnail as a separate image, and autorot the jpeg (and thunbnail) without needing to decode and thus degrade the image data.

IM -strip will degrade the image data as IM goes though the full decode cycle. It is an image editor after all, and is not designed for image format specific operations (eg not reading the image in). if resizing the image or otherwise modifying a -strip can then be done, though Im has no true knowledge of EXIF (only enough for special -auto-orient rotation).
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
oddball508

Post by oddball508 »

Thanks Anthony. I was just about the post some information about JHead after finding it. It is an excellent little app. I'm using the -rgt option to regenerate the thumbnail.
Post Reply