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.
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.