28 #ifndef OPENSHOT_IMAGE_READER_H 29 #define OPENSHOT_IMAGE_READER_H 71 std::shared_ptr<Magick::Image> image;
96 std::shared_ptr<Frame> GetFrame(
long int requested_frame)
throw(
ReaderClosed);
102 string Name() {
return "ImageReader"; };
107 Json::Value JsonValue();
108 void SetJsonValue(Json::Value root)
throw(
InvalidFile);
bool IsOpen()
Determine if reader is open or closed.
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.
This class uses the ImageMagick++ libraries, to open image files, and return openshot::Frame objects ...
Header file for all Exception classes.
Exception for files that can not be found or opened.
This namespace is the default namespace for all code in the openshot library.
Exception for invalid JSON.
string Name()
Return the type name of the class.
This class is a memory-based cache manager for Frame objects.