Modify a comment in a JPEG image

Imagemagick offers a way to add a comment to a JPEG directly from a file:

convert -comment @file.txt in.jpg out.jpg

The trick is to use an \”@\” before the filename.

Leave a Reply