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
Windows Explorer Thumbnails
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
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
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
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
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).
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/
https://imagemagick.org/Usage/