if i do
convert -strip -comment "hello" a.jpg b.jpg
then the "hello" comment is not included in b.jpg.
-strip thus seems to override my -comment option.
this seems wrong.
-strip should remove all OLD meta data included in a.jpg
-comment should add my comments to b.jpg
can this please be fixed for the next release?
any workarounds for the current version would be appreciated.
-strip erroneously overrides -comment
Re: -strip erroneously overrides -comment
Try this command to retain the image comment:
- convert a.jpg -strip -set comment "hello" b.jpg
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: -strip erroneously overrides -comment
Simpley put, read in the image first, and do things in the order wanted.
This could be called the motto of IM version 6
This could be called the motto of IM version 6
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: -strip erroneously overrides -comment
brilliant. i was not aware of the "-set" option, as it was not listed in my outdated manual file. thanks!