Added GIF and animated GIF saving support.

Applied (modified) patch by troelsk. Also added a basic unit test for checking the frames of a saved animated GIF (a previous unit test already handles content of a GIF with a single frame).

Closes #8583.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth
2011-01-19 12:28:31 +00:00
parent 818bc81a8b
commit 77b83d0a0f
6 changed files with 798 additions and 18 deletions

View File

@@ -12,7 +12,7 @@
#include "wx/defs.h"
#if wxUSE_STREAMS && wxUSE_ICO_CUR
#if wxUSE_STREAMS && (wxUSE_ICO_CUR || wxUSE_GIF)
#include "wx/stream.h"
#include "wx/image.h"
@@ -76,6 +76,6 @@ private:
};
#endif // wxUSE_STREAMS && wxUSE_ICO_CUR
#endif // wxUSE_STREAMS && (wxUSE_ICO_CUR || wxUSE_GIF)
#endif // _WX_ANIDECOD_H