Added a new ImageReader class, which uses ImageMagick++ to read image files, and produce openshot::Frame objects.

This commit is contained in:
Jonathan Thomas
2012-08-29 15:29:15 -05:00
parent 8831dd0c49
commit b3cf902f22
9 changed files with 175 additions and 3 deletions

View File

@@ -14,6 +14,11 @@ void FrameReady(int number)
int main()
{
openshot::ImageReader i("/home/jonathan/Documents/OpenShot Art/icon.png");
openshot::Frame* f = i.GetFrame(1);
i.DisplayInfo();
f->Display();
i.Close();
// openshot::FFmpegReader r("../../src/examples/test.mp4");
// openshot::FFmpegReader r("../../src/examples/test1.mp4");