示例#1
0
        void Run()
        {
            using (FileStream fs = File.OpenRead(m_FilePath))
            {
                m_Decoder.DecodeImage(fs, ref m_Image);

                if (OnDecodeFinish != null)
                {
                    OnDecodeFinish(m_Image);
                }
            }
        }
示例#2
0
        public static AnimatedImage Load(Stream s)
        {
            GifDecoder g = new GifDecoder();

            return(g.DecodeImage(s));
        }
示例#3
0
 public static AnimatedImage Load(Stream s)
 {
     GifDecoder g = new GifDecoder();
     return g.DecodeImage(s);
 }