OS Manuals

/usr/bin/wrjpgcom

Utilities for manipulating JPEG images

From libjpeg-turbo-utils 3.2.1-r0 (os), captured 2026-11-05 by running wrjpgcom --help (exit 1). permalink

wrjpgcom inserts a textual comment in a JPEG file.
You can add to or replace any existing comment(s).
Usage: /usr/bin/wrjpgcom [switches] [inputfile]
Switches (names may be abbreviated):
  -replace         Delete any existing comments
  -comment "text"  Insert comment with given text
  -cfile name      Read comment from named file
Notice that you must put quotes around the comment text
when you use -comment.
If you do not give either -comment or -cfile on the command line,
then the comment text is read from standard input.
It can be multiple lines, up to 65000 characters total.
You must specify an input JPEG file name when supplying
comment text from standard input.
Options (3)
OptionDescriptionSource
-replaceDelete any existing COM blocks from the file.help + man
-comment "text"Supply text for new COM block on command line.help + man
-cfile nameRead text for new COM block from named file.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.