Question by
Regisis · Sep 18, 2017 at 10:52 AM ·
screenshot
PrintScreen type of screenshot
Hi,
I have an application that's running at (let's say) 800x600px. It's running in a window so not full-screen. I'd like the application to take a screenshot with whatever else is on screen at that time, meaning that if I have windows behind it I'd like them to be in the screenshot too. Basically I'm looking for a simple PrintScreen button implementation. I'm hoping to use that as a texture for a shader later on. Any suggestions are really appreciated.
I've tried:
ScreenCapture.CaptureScreenshot("Screenshot.png"); Application.CaptureScreenshot("Screenshot.png");
both of which return a screenshot, but only of the application window (which is 800x600) not the whole 'desktop'. I'm on windows.
Thanks in advance.
Comment
Your answer