Fixed some bugs with the Wipe effect, and am still trying to optimze the performance and make it add alpha channels correctly.

This commit is contained in:
Jonathan Thomas
2013-10-14 18:18:34 -05:00
parent 3617d6be31
commit 2b77da2fd0
9 changed files with 51 additions and 33 deletions

View File

@@ -446,6 +446,10 @@ void Frame::Save(string path, float scale)
Magick::Image copy;
copy = *image;
// Maintain alpha channel
copy.backgroundColor(Magick::Color("none"));
copy.matte(true);
// display the image (if any)
if (copy.size().width() > 1 && copy.size().height() > 1)
{