MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / ChromaKey

Method ChromaKey

src/effects/ChromaKey.cpp:27–33  ·  view source on GitHub ↗

Blank constructor, useful when using Json to load the effect properties

Source from the content-addressed store, hash-verified

25
26/// Blank constructor, useful when using Json to load the effect properties
27ChromaKey::ChromaKey() : fuzz(20.0), halo(10.0), method(CHROMAKEY_BASIC_SOFT) {
28 // Init default color
29 color = Color();
30
31 // Init effect properties
32 init_effect_details();
33}
34
35// Standard constructor, which takes an openshot::Color object, a 'fuzz' factor,
36// an optional halo distance and an optional keying method.

Callers

nothing calls this directly

Calls 1

ColorClass · 0.85

Tested by

no test coverage detected