James Gillespie
James Gillespie

Reputation: 41

Taking a screenshot of a UWP app on Raspberry Pi

Does anyone know how / if it's possible to take a screenshot of a UWP application running on a raspberry pi?

Upvotes: 1

Views: 485

Answers (3)

noelicus
noelicus

Reputation: 15055

Yes, run the ScreenCapture.exe command line tool. This can also be run over SSH or as a local command. Just make sure you have write-access to the local path you give it save the screenshot. e.g:

start ScreenCapture.exe c:\Data\USERS\DefaultAccount\Pictures\MyCapture.png

Upvotes: 0

Ian Hoppes
Ian Hoppes

Reputation: 252

Another option is use the new "Remote Display Experience" feature in the latest Insider build of Windows 10 IoT Core (OS Version 10.0.14295.1000). It's like Remote Desktop for Windows 10 IoT.

Setup instructions are here: https://ms-iot.github.io/content/en-US/win10/RemoteDisplay.htm

Upvotes: 1

Tamás Deme
Tamás Deme

Reputation: 2228

If you can attach a keyboard, I'd try pressing the Win+PrintScr buttons - that saves a screenshot into the Pictures/Screenshots folder. (If you can access that in IoT core.)

Otherwise you can just use the RenderTargetBitmap class to render your whole UI into an image and than save that where you want to.

Upvotes: 1

Related Questions