WMT_VIDEOIMAGE_TRANSITION_FADE_TO_COLOR

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The fade-to-color transition dissolves from the image to a frame of solid color.

Parameters

The following table describes the parameters used by this transition and lists the members of the WMT_VIDEOIMAGE_SAMPLE2 structure to which they are assigned.

Parameter Structure member Description
Red fEffectPara0 Red value of the background color. Set to a number between 0 and 255.
Green fEffectPara1 Green value of the background color. Set to a number between 0 and 255.
Blue fEffectPara2 Blue value of the background color. Set to a number between 0 and 255.
Background weight fEffectPara3 Weight of the background color. This parameter expresses the percentage of the background color in the mix as a decimal. For example, to blend the background color at 30%, making the image 70% of the mix, set to 0.30.

Requirements

Requirement Value
Header
Wmsdkidl.h

See also

Video Image Transitions