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 int constrain(
int color_value);
66 void init_effect_details();
88 tr1::shared_ptr<Frame> GetFrame(tr1::shared_ptr<Frame> frame,
long int frame_number);
93 Json::Value JsonValue();
94 void SetJsonValue(Json::Value root);
98 string PropertiesJSON(
long int 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.
Exception for invalid JSON.
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.