jacobbo / WebEye

WebEye is a collection of .NET controls.
190 stars 132 forks source link

Get Screenshot #75

Open minisbett opened 4 years ago

minisbett commented 4 years ago

I tried to get a screenshot of the current frame using but the drawn bitmap is just all white.

      Bitmap b = new Bitmap(streamPlayerControl1.Width, streamPlayerControl1.Height);
      streamPlayerControl1.DrawToBitmap(b, new Rectangle(0, 0, b.Width, b.Height));
      panel1.BackgroundImage = b;

How can I get the current frame as a beatmap?

marekside commented 4 years ago

Please use the GetCurrentFrame method