blob: d237bb828f215b95dd95eb6db48b815abd419138 [file] [log] [blame]
Thomas G. Lane36a4ccc1994-09-24 00:00:00 +00001.TH RDJPGCOM 1 "8 July 1994"
2.SH NAME
3rdjpgcom \- display text comments from a JPEG file
4.SH SYNOPSIS
5.B rdjpgcom
6[
7.B \-verbose
8]
9[
10.I filename
11]
12.LP
13.SH DESCRIPTION
14.LP
15.B rdjpgcom
16reads the named JPEG/JFIF file, or the standard input if no file is named,
17and prints any text comments found in the file on the standard output.
18.PP
19The JPEG standard allows "comment" (COM) blocks to occur within a JPEG file.
20Although the standard doesn't actually define what COM blocks are for, they
21are widely used to hold user-supplied text strings. This lets you add
22annotations, titles, index terms, etc to your JPEG files, and later retrieve
23them as text. COM blocks do not interfere with the image stored in the JPEG
24file. The maximum size of a COM block is 64K, but you can have as many of
25them as you like in one JPEG file.
26.SH OPTIONS
27.TP
28.B \-verbose
29Causes
30.B rdjpgcom
31to also display the JPEG image dimensions.
32.PP
33Switch names may be abbreviated, and are not case sensitive.
34.SH HINTS
35.B rdjpgcom
36does not depend on the IJG JPEG library. Its source code is intended as an
37illustration of the minimum amount of code required to parse a JPEG file
38header correctly.
39.SH SEE ALSO
40.BR cjpeg (1),
41.BR djpeg (1),
42.BR wrjpgcom (1)
43.SH AUTHOR
44Independent JPEG Group