1 .TH WRJPGCOM 1 "15 June 1995"
3 wrjpgcom \- insert text comments into a JPEG file
22 reads the named JPEG/JFIF file, or the standard input if no file is named,
23 and generates a new JPEG/JFIF file on standard output. A comment block is
26 The JPEG standard allows "comment" (COM) blocks to occur within a JPEG file.
27 Although the standard doesn't actually define what COM blocks are for, they
28 are widely used to hold user-supplied text strings. This lets you add
29 annotations, titles, index terms, etc to your JPEG files, and later retrieve
30 them as text. COM blocks do not interfere with the image stored in the JPEG
31 file. The maximum size of a COM block is 64K, but you can have as many of
32 them as you like in one JPEG file.
35 adds a COM block, containing text you provide, to a JPEG file.
36 Ordinarily, the COM block is added after any existing COM blocks; but you
37 can delete the old COM blocks if you wish.
39 Switch names may be abbreviated, and are not case sensitive.
42 Delete any existing COM blocks from the file.
45 Supply text for new COM block on command line.
48 Read text for new COM block from named file.
50 If you have only one line of comment text to add, you can provide it on the
53 The comment text must be surrounded with quotes so that it is treated as a
54 single argument. Longer comments can be read from a text file.
62 will read the comment text from standard input. (In this case an input image
63 file name MUST be supplied, so that the source JPEG file comes from somewhere
64 else.) You can enter multiple lines, up to 64KB worth. Type an end-of-file
65 indicator (usually control-D) to terminate the comment text entry.
68 will not add a COM block if the provided comment string is empty. Therefore
69 \fB\-replace \-comment ""\fR can be used to delete all COM blocks from a file.
72 Add a short comment to in.jpg, producing out.jpg:
75 \fI"View of my back yard" in.jpg
79 Attach a long comment previously stored in comment.txt:
103 Independent JPEG Group