OpenShot Library | libopenshot
0.2.2
|
Go to the documentation of this file.
28 #ifndef OPENSHOT_WIPE_EFFECT_H
29 #define OPENSHOT_WIPE_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"
47 #ifdef USE_IMAGEMAGICK
48 #include "../ImageReader.h"
67 std::shared_ptr<QImage> original_mask;
71 void init_effect_details();
99 std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
103 void SetJson(
string value);
104 Json::Value JsonValue();
105 void SetJsonValue(Json::Value root);
109 string PropertiesJSON(int64_t requested_frame);
void Reader(ReaderBase *new_reader)
Set a new reader to be used by the mask effect (grayscale image)
This abstract class is the base class, used by all effects in libopenshot.
This class uses the ImageMagick++ libraries, to apply alpha (or transparency) masks to any frame....
This namespace is the default namespace for all code in the openshot library.
Keyframe contrast
Contrast keyframe to control the hardness of the wipe effect / mask.
A Keyframe is a collection of Point instances, which is used to vary a number or property over time.
bool replace_image
Replace the frame image with a grayscale image representing the mask. Great for debugging a mask.
This abstract class is the base class, used by all readers in libopenshot.
ReaderBase * Reader()
Get the reader object of the mask grayscale image.
Keyframe brightness
Brightness keyframe to control the wipe / mask effect. A constant value here will prevent animation.