Update the internal thumbnail of a jpg file ?

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
spok
Posts: 36
Joined: 2011-10-31T07:32:23-07:00
Authentication code: 8675308

Update the internal thumbnail of a jpg file ?

Post by spok »

I have a jpeg file which I access and modify through a PixelPacket * pointer.
When I save the file after modification, the thumbnail contained inside the file is not updated.
Is there any method which allows to update the internal thumbnail of a jpg file ?

The same program with a tif file, works great and update the thumbnail contained inside the tif file automatically...
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Update the internal thumbnail of a jpg file ?

Post by magick »

The thumbnail is part of the EXIF profile. ImageMagick only updates the resolution of the EXIF profile. For the thumbnail you'll need another utility.
spok
Posts: 36
Joined: 2011-10-31T07:32:23-07:00
Authentication code: 8675308

Re: Update the internal thumbnail of a jpg file ?

Post by spok »

magick wrote:The thumbnail is part of the EXIF profile. ImageMagick only updates the resolution of the EXIF profile. For the thumbnail you'll need another utility.
Thanks for the answer. Do you know any library I can use for this ?
Post Reply