Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
wrjpgcom(1)
Edit
PageHistory
Diff
Info
LikePages
WRJPGCOM !!!WRJPGCOM NAME SYNOPSIS DESCRIPTION OPTIONS EXAMPLES SEE ALSO AUTHOR ---- !!NAME wrjpgcom - insert text comments into a JPEG file !!SYNOPSIS __wrjpgcom__ [[ __-replace__ ] [[ __-comment__ ''text'' ] [[ __-cfile__ ''name'' ] [[ ''filename'' ] !!DESCRIPTION __wrjpgcom__ reads the named JPEG/JFIF file, or the standard input if no file is named, and generates a new JPEG/JFIF file on standard output. A comment block is added to the file. The JPEG standard allows __wrjpgcom__ adds a COM block, containing text you provide, to a JPEG file. Ordinarily, the COM block is added after any existing COM blocks; but you can delete the old COM blocks if you wish. !!OPTIONS Switch names may be abbreviated, and are not case sensitive. __-replace__ Delete any existing COM blocks from the file. __-comment__ ''text'' Supply text for new COM block on command line. __-cfile__ ''name'' Read text for new COM block from named file. If you have only one line of comment text to add, you can provide it on the command line with __-comment__. The comment text must be surrounded with quotes so that it is treated as a single argument. Longer comments can be read from a text file. If you give neither __-comment__ nor __-cfile__, then __wrjpgcom__ will read the comment text from standard input. (In this case an input image file name MUST be supplied, so that the source JPEG file comes from somewhere else.) You can enter multiple lines, up to 64KB worth. Type an end-of-file indicator (usually control-D) to terminate the comment text entry. __wrjpgcom__ will not add a COM block if the provided comment string is empty. Therefore __-replace -comment __ can be used to delete all COM blocks from a file. !!EXAMPLES Add a short comment to in.jpg, producing out.jpg: __wrjpgcom -c__ '' '' ____ ''out.jpg'' Attach a long comment previously stored in comment.txt: __wrjpgcom__ ''in.jpg'' ____ ''comment.txt'' ____ ''out.jpg'' or equivalently __wrjpgcom -cfile__ ''comment.txt'' ____ ''in.jpg'' ____ ''out.jpg'' !!SEE ALSO cjpeg(1), djpeg(1), jpegtran(1), rdjpgcom(1) !!AUTHOR Independent JPEG Group ----
8 pages link to
wrjpgcom(1)
:
cjpeg(1)
djpeg(1)
jpegtopnm(1)
jpegtran(1)
pnmtojpeg(1)
ppmtojpeg(1)
rdjpgcom(1)
Man1w
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.