hwIAMFExportOptions SetPalette

Sets the palette used when exporting AMF files.

Syntax

hwIAMFExportOptions_handle SetPalette type

Application

HyperView Tcl Modify

Description

This command sets the palette used when exporting AMF files.
Note: This parameter is used when exporting AMF files from either the video or animation clients during video capture.

Inputs

type
The palette type. Options include: "fullcolor" or "grayscale".

Example

To set the palette used when exporting AMF files:
hwi GetSessionHandle mySessionName
mySessionName GetAMFExportOptionsHandle myAmfOptions
myAmfOptions SetPalette fullcolor

Error

Returns 0 if successful, or an error code (3 = HW_InvalidHandle) - if the handle used to invoke the method is no longer valid or

(HW_InvalidArgs) - if the value of the argument type is not one of those listed above.