28 #ifndef OPENSHOT_SATURATION_EFFECT_H
29 #define OPENSHOT_SATURATION_EFFECT_H
31 #include "../EffectBase.h"
40 #include "../Exceptions.h"
42 #include "../KeyFrame.h"
43 #include "../ReaderBase.h"
44 #include "../FFmpegReader.h"
45 #include "../QtImageReader.h"
46 #include "../ChunkReader.h"
63 void init_effect_details();
85 std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
89 void SetJson(
string value);
90 Json::Value JsonValue();
91 void SetJsonValue(Json::Value root);
95 string PropertiesJSON(int64_t requested_frame);
This abstract class is the base class, used by all effects in libopenshot.
This class adjusts the saturation of color on a frame's image.
A Keyframe is a collection of Point instances, which is used to vary a number or property over time...
Keyframe saturation
The color saturation: 0.0 = black and white, 1.0 = normal, 2.0 = double saturation.