cmt utility: builds color mapping table source and object files
cmt -i input file [-o output file] [-n internal CMT name] [-t]
cmt, the Color Mapping Table Utility, generates color mapping table source and object files. If the input file is an object color mapping table, cmt generates a source output file; and if the input file is a source file, cmt generates an object file. Object color mapping tables are used to map OCA (Object Content Architecture) colors and fills to printer specific colors.
The cmt utility uses the these flags:
- The file name of the input file. The input file can be a source or object file. When you use the cmt utility, you must specify this flag.
- The file name of the output file. If this flag is not specified, stdout is used. This is a optional flag.
- The name that appears on the MO:DCA Begin Object Container (BOC) structured field. This is a optional flag.
- Use this flag to turn on trace. This is a optional flag.
Color mapping table source file
The source file describes the contents of the color mapping table object file.
Each mapping definition of one source color or fill to a target color is bracketed by the keywords BeginMappingDef: and EndMappingDef:. The cmt utility requires one mapping definition for each source target mapping.
Each source definition in a mapping definition is bracketed by the keywords BeginSourceDef: and EndSourceDef:. The cmt utility requires one source definition for each mapping definition.
Valid keywords and values for a source definition follow:
- You must specify OCA, Highlight, or GOCA.
- You must specify a value that depends upon the value specified
- When ColorSpace=OCA, ColorValue is a one string
component of these values:
- Dark Blue
- Dark Green
- Dark Turquoise
- The binary representation for all OCA colors are supported by the cmt utility.
- When you specify the colors that are two words, specify an underscore between the two words. For example, when you want to use Dark Blue, specify Dark_Blue.
- When ColorSpace=Highlight, the ColorValue has one
component, integer 0 through 3, for example:
- When ColorSpace=GOCA, the ColorValue has one component,
integer 0 through 16 or 64, for example:
- When ColorSpace=OCA, ColorValue is a one string component of these values:
Each target definition in a mapping definition is bracketed
by the keywords
EndTargetDef The cmt utility requires one target definition in each mapping
definition. Valid keywords and values for a target definition follow:
- You must specify RGB, CMYK, Highlight, or CIELAB.
- You must specify a value determined by the value specified by ColorSpace as follows:
- When ColorSpace=RGB, the ColorValue has three components from 0 through 255. For example, 33 167 247.
- When ColorSpace=CMYK, the ColorValue has four components from 0 through 255. For example, 135 26 37 255.
- When ColorSpace=CIELAB, the ColorValue has three components with the first integer from 0 through 100, and the second and third integers from -127 through 127. For example 65 -120 111.