Example #1
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            using (var bmp = ControlExtensions.DrawToImage(webBrowser1))
            {
                var w = bmp.Width;
                var h = bmp.Height;

                PlayerManager.cover = bmp.Clone() as Image;
                bmp.Dispose();
            }

            //Debug.WriteLine("bitmap saved");

            //ImageToText imageToText = new ImageToText();
        }