A
A
Alexey2021-12-10 05:54:20
Images
Alexey, 2021-12-10 05:54:20

How to get image data received via win10 screen snippet?

Good afternoon. Tell me how you can get the image itself from the clipboard when taking a screenshot through hotkeys WIN + SHIFT + S?
If the usual text copy-paste I can read and save via CMD

powershell -command "Get-Clipboard" > currentBuffer.txt
, then what about the image? Where does it go?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Bezrukov, 2021-12-10
@NortheR73

$img = Get-Clipboard -Format Image
$img.Save("YourFilePath")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question