ColorTransformTRC.mesa
Copyright © 1986 by Xerox Corporation. All rights reserved.
Eric Nickell, January 15, 1986 3:18:44 pm PST
DIRECTORY
ColorTransforms USING [Transform, TRC, TRCRep],
Rope USING [ROPE];
ColorTransformTRC: CEDAR DEFINITIONS
~ BEGIN
ROPE: TYPE ~ Rope.ROPE;
Transform: TYPE ~ ColorTransforms.Transform;
TRC: TYPE ~ ColorTransforms.TRC;
TRCRep: TYPE ~ ColorTransforms.TRCRep;
ReadTRCFromAltoFile: PROC [fileName, trcName: ROPE] RETURNS [trc: TRC];
PreInvertTransform: PROC [t: Transform, maxValue: CARDINAL ← 255] RETURNS [Transform];
Gives the same effect as inverting all the values (applying maxValue-value) before applying the transform.
END.