31 #ifndef OPENSHOT_QIMAGE_READER_H
32 #define OPENSHOT_QIMAGE_READER_H
69 std::shared_ptr<QImage> image;
70 std::shared_ptr<QImage> cached_image;
98 std::shared_ptr<Frame>
GetFrame(int64_t requested_frame);
104 std::string
Name() {
return "QtImageReader"; };
107 std::string
Json()
const override;
108 void SetJson(
const std::string value);
Header file for all Exception classes.
Header file for ReaderBase class.
This class is a memory-based cache manager for Frame objects.
This class uses the Qt library, to open image files, and return openshot::Frame objects containing th...
void SetJson(const std::string value)
Load JSON string into this object.
void SetJsonValue(const Json::Value root)
Load Json::Value into this object.
Json::Value JsonValue() const override
Generate Json::Value for this object.
bool IsOpen()
Determine if reader is open or closed.
void Open()
Open File - which is called by the constructor automatically.
std::string Json() const override
Get and Set JSON methods.
std::shared_ptr< Frame > GetFrame(int64_t requested_frame)
std::string Name()
Return the type name of the class.
QtImageReader(std::string path)
Current max_size as calculated with Clip properties
CacheMemory * GetCache()
Get the cache object used by this reader (always returns NULL for this object)
This abstract class is the base class, used by all readers in libopenshot.
This namespace is the default namespace for all code in the openshot library.