Page 1 of 1
Imagemagick not updating thumbnail
Posted: 2017-06-14T23:12:49-07:00
by aayushagra
Hello,
I'm working with imagemagick to make some modifications to an image and produce a new image. Problem is, even after the modifications windows still shows the old thumbnail on the new jpeg file. Is there any way to fix this?
Re: Imagemagick not updating thumbnail
Posted: 2017-06-14T23:15:14-07:00
by fmw42
Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.
See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at
viewtopic.php?f=1&t=9620
For novices, see
viewtopic.php?f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
Depending upon your processing commands, ImageMagick may not reset the thumbnail preview. I see that happen when writing over some old images. Have you tried saving to a new output, then renaming it back to the original with our OS?
Re: Imagemagick not updating thumbnail
Posted: 2017-06-14T23:23:00-07:00
by aayushagra
I'm using 7.0.6 and building a script that needs to work on both Windows and Ubuntu.
I managed to fix this by simply using -strip to delete the EXIF data
Re: Imagemagick not updating thumbnail
Posted: 2017-06-14T23:29:16-07:00
by fmw42
Sounds like a reasonable solution, since -strip removes the xmp profile, which I believe is where the thumbnail is stored. You could try +profile "xmp" rather than -strip.
Re: Imagemagick not updating thumbnail
Posted: 2017-06-14T23:50:27-07:00
by snibgo
aayushagra wrote:... even after the modifications windows still shows the old thumbnail on the new jpeg file. Is there any way to fix this?
No. IM doesn't update thumbnails.