Page 1 of 1
exif comment after a convert -resize
Posted: 2008-07-25T08:31:02-07:00
by calmar
Hi all, is it possible to keep the exif 'Comment' on the target file of a convert statement?
(If not, I will have to manually readd it to the newly created file, but when it would be possible in one go, it would be nice).
thanks a lot
calmar
(
http://www.calmar.ws/resize/ )
Re: exif comment after a convert -resize
Posted: 2008-07-26T06:13:10-07:00
by anthony
It is kept by default unless you use -strip or -thumbnail (resize with strip)
Re: exif comment after a convert -resize
Posted: 2008-07-26T14:56:16-07:00
by calmar
Hi,
then something is wrong with jhead, or anyway convert on those particular pics:
http://www.calmar.ws/tmp/123-Sat-screen.png
that's the pic I tried it (
http://www.calmar.ws/tmp/Wallis_2008_227.jpg )
In fact, with my cam, it about always worked - not with the pics of my friends one.
When I find 'where' and nothing else it told here, I guess I will open a bug report - may won't hurt.
cheers
marco
Re: exif comment after a convert -resize
Posted: 2008-07-26T23:29:18-07:00
by anthony
From what I can see all the EXIF information abotu the image is still present after being resized. The only information that has been modified was the resolution, and for some reason the comment, which is NOT part of the EXIF data.
I have no idea why the comment is missing, it should be present from what I can see from your screen shot. I would consider this a bug, which should be reported in the bugs forum.
Hmmm...
Code: Select all
convert http://www.imagemagick.org/Usage/photo_store/hatching_orig.jpg -format %c info:
returned
Hatching of Linux
Now resize...
Code: Select all
convert http://www.imagemagick.org/Usage/photo_store/hatching_orig.jpg -resize 50% -format %c info:
also returned the same comment. So far so good, lets try a save to jpg (in a pipeline)
Code: Select all
convert http://www.imagemagick.org/Usage/photo_store/hatching_orig.jpg -resize 50% jpg:- | identify -format %c
NO COMMENT!!!!!
Removing the resize...
Code: Select all
convert http://www.imagemagick.org/Usage/photo_store/hatching_orig.jpg jpg:- | identify -format %c
Same result!!! It is NOT resize, but the save to jpeg that is failing to save the comment!!!
Definate bug
Re: exif comment after a convert -resize
Posted: 2008-07-27T14:35:39-07:00
by calmar
Hi Anthony,
I just posted a link to this thread here to the 'bug-mailing-list'.
Thanks again for helping and pointing out!
cheers
marco