コード例 #1
0
        public void Consume(byte[] bytes)
        {
            var bitmap = WifLoader.DecodeFrame(bytes);

            if (bitmap != null)
            {
                next.Consume(bitmap);
            }
        }
コード例 #2
0
        private void LoadWif(string path)
        {
            var animationVM = new AnimationViewModel();

            WifLoader.LoadInSeparateThread(path, animationVM.CreateReceiver());

            var viewer = new AnimationWindow(animationVM);

            viewer.Show();
        }