private static GifDecoder GetGifDecoder(byte[] data) { using(MemoryStream ms = new MemoryStream(data)) return new GifDecoder(ms, true); }