28 #ifndef OPENSHOT_QIMAGE_READER_H 29 #define OPENSHOT_QIMAGE_READER_H 39 #include <QtCore/QString> 40 #include <QtGui/QImage> 41 #include <QtGui/QPainter> 73 std::shared_ptr<QImage> image;
74 std::shared_ptr<QImage> cached_image;
99 std::shared_ptr<Frame> GetFrame(
long int requested_frame)
throw(
ReaderClosed);
105 string Name() {
return "QtImageReader"; };
110 Json::Value JsonValue();
111 void SetJsonValue(Json::Value root)
throw(
InvalidFile);
114 void SetMaxSize(
int width,
int height);
Header file for ReaderBase class.
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.
Exception when a reader is closed, and a frame is requested.
Header file for CacheMemory class.
Header file for all Exception classes.
Exception for files that can not be found or opened.
string Name()
Return the type name of the class.
bool IsOpen()
Determine if reader is open or closed.
This namespace is the default namespace for all code in the openshot library.
Exception for invalid JSON.
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.