Share via


Screen Capture (wdcapture.exe)

wdcapture is a PC command-line tool designed to capture screenshots using Windows Graphics Capture APIs. It supports capturing screenshots in both Standard Dynamic Range (SDR) and High Dynamic Range (HDR) formats.

Prerequisites

  • Windows 10 or later with support for Windows Graphics Capture.

Usage

The wdcapture tool supports the following command-line arguments:

Command Description
wdcapture screenshot Captures a screenshot and saves it in the PNG (SDR) file format or the JXR (HDR) file format.
wdcapture list-displays List display IDs of screen.

wdcapture screenshot

Captures a screenshot and saves it to a specified file.

wdcapture screenshot [<filepath>] [hdr] [/display <display-id> ]

Option Description
filepath Directory of the specified output file
hdr Specifies that the screenshot should be saved in the HDR file format
/display <display-id> Specifies which display to capture. If display is not specified, the default display will be used.

wdcapture list-displays

List display IDs of screen

wdcapture list-displays

Option Description
list-displays Lists all available display IDs.

Return to the top of this topic.

Remarks

For more information on installing and launching PC Microsoft Game Development Kit (GDK) titles, see Utilizing Microsoft Game Development Kit tools to install and launch your PC title.