SetDSequenceTransferMode
TheSetDSequenceTransferModefunction sets the mode used when drawing the decompressed image.
pascal OSErr SetDSequenceTransferMode (ImageSequence seqID, short mode, const RGBColor *opColor);
seqID- Contains the unique sequence identifier that was returned by the
DecompressSequenceBeginfunction (described on page 3-107).mode- Specifies the transfer mode used when drawing the decompressed image. The Image Compression Manager supports the same transfer modes supported by QuickDraw's
CopyBitsroutine (described in Inside Macintosh: Imaging).opColor- Contains a pointer to the color for use in
addPin,subPin,blend, andtransparentoperations. The Image Compression Manager passes this color to QuickDraw as appropriate. Ifnil, the opcolor is left unchanged.DESCRIPTION
The Image Compression Manager supports the same transfer modes supported by QuickDraw'sCopyBitsroutine. The new mode takes effect with the next frame in the sequence. For any given sequence, the default opcolor is 50 percent gray and the default mode isditherCopy.RESULT CODES
noErr 0 No error paramErr -50 Invalid parameter specified SEE ALSO
You set the default transfer mode for a sequence with themodeparameter to theDecompressSequenceBeginfunction.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help