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"; };
110 void SetJson(std::string value);
120 #endif //USE_IMAGEMAGICK 121 #endif //OPENSHOT_IMAGE_READER_H bool IsOpen()
Determine if reader is open or closed.
ImageReader(std::string path)
Header file for ReaderBase class.
Header file for MagickUtilities (IM6/IM7 compatibility overlay)
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.
std::string Json()
Get and Set JSON methods.
std::string Name()
Return the type name of the class.
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.
void SetJson(std::string value)
Load JSON string into this object.
void SetJsonValue(Json::Value root)
Load Json::JsonValue into this object.
std::shared_ptr< Frame > GetFrame(int64_t requested_frame)
void Open()
Open File - which is called by the constructor automatically.
This namespace is the default namespace for all code in the openshot library.
Json::Value JsonValue()
Generate Json::JsonValue for this object.
This class is a memory-based cache manager for Frame objects.