capture1 C# 화면 캡쳐 Capture C# 화면 캡쳐 Capture 1. 비트맵으로 byte[] byteArray; public void Capture() { System.Drawing.Rectangle rect = Screen.PrimaryScreen.Bounds; Bitmap tBitmap = new Bitmap(rect.Width, rect.Height); using (Graphics tGraphics = Graphics.FromImage(tBitmap)) { tGraphics.CopyFromScreen(rect.Left, rect.Top, 0, 0, rect.Size); } byteArray = ImageToByte(tBitmap); } public static byte[] ImageToByte(System.Drawing.Image .. 2020. 7. 27. 이전 1 다음