CMSTAGSGI(1) CMS CMSTAGSGI(1)
cmstagjpeg - associate an ICC device profile with a JPEG image file
cmstagjpeg [ -s source_profile ]
[ -o output_file ] [ -h ] image_files
cmstagjpeg associates an International Color Consortium (ICC) profile
with a JPEG image file (in the JFIF file format); this is called
"tagging" the profile. There are two possible ways to associate the
profile with the image. By default, or if the -f flag is set, the full
ICC profile will be embedded as a tag in the image file. If the -n flag
is set, then only the name of the file will be embedded. This approach
is only useful if the image file and profile are guaranteed to always
reside on the same machine.
If the image is already tagged, the old tag will be replaced in the
output file with the new tag.
Command Line Options
cmstagjpeg supports the following command line options:
-s source_profile
Specifies the (source) profile to associate with the image. If
a path name is provided, that is where the profile will be
looked for. Otherwise, the profile will be looked for in the
default profile directory: /usr/share/cms/profiles.
-o output_file
Specifies a destination for the tagged image file. If this flag
is not set, results are written to standard out.
-h Display a usage message.
image_file
A JPEG image file to be "tagged" with the ICC profile.
The following are error conditions:
o the specified image file can not be opened for reading;
o the specified image file can not be opened for writing;
o the sepecified image file is not a JPEG image file;
o the specified source profile can not be found, or is not an ICC
profile.
Page 1
CMSTAGSGI(1) CMS CMSTAGSGI(1)
/usr/share/cms/profiles directory in which system device profiles are
stored
cmstagsgi(1), cmstaggif(1).
PPPPaaaaggggeeee 2222 [ Back ]
|