void Run() { using (FileStream fs = File.OpenRead(m_FilePath)) { m_Decoder.DecodeImage(fs, ref m_Image); if (OnDecodeFinish != null) { OnDecodeFinish(m_Image); } } }
public static AnimatedImage Load(Stream s) { GifDecoder g = new GifDecoder(); return(g.DecodeImage(s)); }
public static AnimatedImage Load(Stream s) { GifDecoder g = new GifDecoder(); return g.DecodeImage(s); }