An interesting application, called Flipflop, was downloaded from the Windows Store (http://apps.microsoft.com/windows/app/flipflop/99c01512-fe4f-4d1a- 872E-EB9FD6638FF4, which allows the user to create page-flip animation effects (FlipBook Animation), and can export animations to GIF files. See a technical article about the project on MSDN and share it with you.
Flipflop project, the author uses the Windows Imaging Component (WIC) implementation to create a picture (MSDN view the Windows 8 WIC new features),
Referencing the Windows.graphics namespace in your project contains the Bitmapencoder class (MSDN), which enables you to create specific picture encodings, such as Gifencoder.
The Code view tool lets you see the author create a shared class "Gifmaker" to implement the definition of animation frames,
Using System;
Using System.Collections.Generic;
Using System.Runtime.InteropServices.WindowsRuntime;
Using Windows.foundation;
Using Windows.Graphics.Imaging;
Using Windows.storage;
Namespace Utilities
{public
sealed class Gifmaker {readonly list<byte[]> frames
= new list< Byte[]> ();
Private readonly uint Framewidth;
Private readonly uint Frameheight;
Public Gifmaker (uint width, uint height)
{
framewidth = width;
frameheight = height;
}
public void Appendnewframe ([readonlyarray]byte[] frame)
{
frames. ADD (frame);