hwIAVIExportOptions SetPalette
Sets the palette used when exporting AVI files.
Syntax
hwIAVIExportOptions_handle SetPalette type
Application
Tcl Modify
Description
This parameter is used when exporting AVI files from either the video or animation clients during HTML export.
Inputs
- type
- The palette type. Options include "fullcolor", "reduced", "grayscale", "mjpeg", or "windows_compressor" (not available on Linux).
Example
To set the palette used when exporting AVI
files:
hwi GetSessionHandle mySessionName
mySessionName GetAVIExportOptionsHandle myAviOptions
myAviOptions SetPalette fullcolor
Error
Success (0) or an error code (see below).
- HW_InvalidHandle
- The handle used to invoke the method is no longer valid.
- HW_InvalidArgs
- The value of the argument type is not one of those listed above.