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);
void Open()
Open File - which is called by the constructor automatically.
void SetJsonValue(const Json::Value root)
Load Json::Value into this object.
Header file for ReaderBase class.
std::string Json() const override
Get and Set JSON methods.
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.
void SetJson(const std::string value)
Load JSON string into this object.
Header file for all Exception classes.
std::string Name()
Return the type name of the class.
QtImageReader(std::string path)
Current max_size as calculated with Clip properties
bool IsOpen()
Determine if reader is open or closed.
This namespace is the default namespace for all code in the openshot library.
std::shared_ptr< Frame > GetFrame(int64_t requested_frame)
This class uses the Qt library, to open image files, and return openshot::Frame objects containing th...
This class is a memory-based cache manager for Frame objects.
Json::Value JsonValue() const override
Generate Json::Value for this object.