SGCompressFrame
The SGCompressFrame function provides the default behavior for your compress function.
pascal ComponentResult SGCompressFrame (SGChannel c,
short bufferNum);
c
- Specifies the reference that identifies the channel for this operation. The sequence grabber provides this value to your compress function.
bufferNum
- Identifies the buffer. The sequence grabber provides this value to your compress function.
SPECIAL CONSIDERATIONS
You should call the SGCompressFrame function only from your compress function.
If you call it at any other time, results are unpredictable.
RESULT CODES
| cantDoThatInCurrentMode | -9402 | Request invalid in current mode |
Image Compression Manager errors
SEE ALSO
See "Application-Defined Functions," which begins on page 5-107, for information about compress functions.