OpenShot Library | libopenshot
0.2.5
|
Go to the documentation of this file.
31 #ifndef OPENSHOT_IMAGE_READER_H
32 #define OPENSHOT_IMAGE_READER_H
35 #ifdef USE_IMAGEMAGICK
75 std::shared_ptr<Magick::Image> image;
100 std::shared_ptr<Frame>
GetFrame(int64_t requested_frame);
106 std::string
Name() {
return "ImageReader"; };
109 std::string
Json()
const override;
110 void SetJson(
const std::string value);
120 #endif //USE_IMAGEMAGICK
121 #endif //OPENSHOT_IMAGE_READER_H
This namespace is the default namespace for all code in the openshot library.
ImageReader(std::string path)
void SetJsonValue(const Json::Value root)
Load Json::Value into this object.
std::string Name()
Return the type name of the class.
std::string Json() const override
Get and Set JSON methods.
This class is a memory-based cache manager for Frame objects.
This class uses the ImageMagick++ libraries, to open image files, and return openshot::Frame objects ...
void Open()
Open File - which is called by the constructor automatically.
void SetJson(const std::string value)
Load JSON string into this object.
Header file for CacheMemory class.
std::shared_ptr< Frame > GetFrame(int64_t requested_frame)
Header file for ReaderBase class.
CacheMemory * GetCache()
Get the cache object used by this reader (always returns NULL for this object)
Header file for MagickUtilities (IM6/IM7 compatibility overlay)
Json::Value JsonValue() const
Generate Json::Value for this object.
This abstract class is the base class, used by all readers in libopenshot.
bool IsOpen()
Determine if reader is open or closed.
Header file for all Exception classes.