36 #ifndef OPENSHOT_IMAGE_WRITER_H 37 #define OPENSHOT_IMAGE_WRITER_H 92 int64_t write_video_count;
93 vector<Magick::Image> frames;
98 std::shared_ptr<Frame> last_frame;
131 void SetVideoOptions(
string format,
Fraction fps,
int width,
int height,
132 int quality,
int loops,
bool combine);
136 void WriteFrame(std::shared_ptr<Frame> frame);
142 void WriteFrame(
ReaderBase* reader, int64_t start, int64_t length);
Header file for ReaderBase class.
Header file for OpenMPUtilities (set some common macros)
This abstract class is the base class, used by all readers in libopenshot.
Header file for CacheMemory class.
int GetCacheSize()
Get the cache size.
Header file for all Exception classes.
Header file for WriterBase class.
This abstract class is the base class, used by writers. Writers are types of classes that encode vide...
This class represents a fraction.
This class uses the ImageMagick library to write image files (including animated GIFs) ...
void SetCacheSize(int new_size)
Set the cache size (number of frames to queue before writing)
This namespace is the default namespace for all code in the openshot library.
bool IsOpen()
Determine if writer is open or closed.