JPEGCOM(1)

NAME
jpegcom - Read or write the comments of JPEG images

SYNOPSIS
jpegcom file.jpg ... > list

$EDITOR list

jpegcom < list

DESCRIPTION
This manual page documents briefly the jpegcom command.

jpegcom reads or writes comments embedded in JPEG images. The program has two modes of operation.

When invoked with arguments, jpegcom outputs a list of file names and comments to standard output. Each file name specified on the command line is listed twice in quoted strings, after the keyword copy. The two file names are followed by comment strings for the image, if any. There may be multiple comments per image.

When invoked without arguments, jpegcom reads a list of file names and comments from standard input. Lines starting with # are ignored, as is white space outside strings. The file name entries must begin with one of the keywords copy and rename followed by two file names in quotes. Output is written to the second file, and if the keyword is rename, the first file (input) is removed. The file names may be followed by any number of comment strings, which will be written to the output file.

Strings are delimited by double quotes "". The quote and backslash characters must be prefixed with a backslash (\). Special characters can be embedded by writing their octal code after a backslash, e.g., "\200". When generating the list, jpegcom obeys the current locale to determine which characters should be quoted.

AUTHOR
Marko Mäkelä <msmakela@nic.funet.fi>.

SEE ALSO
locale(1), exifiron(1), photomolo(1).