Convert XWD to PNG

Turn XWD images into PNG. The captured window at the same size and colors.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop XWD files on the dialor turn it to pick what to do

A screen capture as a PNG.The captured window keeps its size and its colors.

  1. What you get

    One PNG of the window as it was captured. The width and height stay the same, and so do the colors.

    PNG is a lossless format, and it suits screenshots and graphics with sharp edges.

  2. Options

    Set Max width or Max height to shrink a large capture. The shape is kept, and a capture that is already smaller stays as it is, so nothing is enlarged. Both accept values from 1 to 20000.

    Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.

  3. When it stops

    If the XWD file cannot be parsed, the conversion stops with input_corrupted.

XWD and PNG.What each format is, and the options this conversion takes.

  1. 01 · grayscale

    Grayscale

    Turns colors into shades of gray, which often makes the file smaller.

  2. 02 · max_height

    Max height (px)

    Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.

    1 to 20000
  3. 03 · max_width

    Max width (px)

    Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.

    1 to 20000
  4. 04 · rotate

    Rotate

    Turns the result clockwise by a quarter, a half or three quarters.

    90 · 180 · 270

The formats

From · XWD

X Window Dump

Screen captures written by the X Window System.

Extensions
.xwd
MIME type
image/x-xwindowdump
Kind
Images
To · PNG

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images

In your code.The same XWD to PNG conversion through the API, for your app or your agent.

terminal
$ cv convert photo.xwd photo.png
$ cv convert photo.xwd photo.png

Questions.What people ask about XWD to PNG.

01OF 04

Yes. The width and height stay the same unless you set Max width or Max height.

Set Max width or Max height to shrink the picture. Grayscale often makes the file smaller too.

Yes. Set Rotate to 90, 180 or 270 to turn it clockwise.

Yes. Use PNG to XWD for that.

More conversions.Other ways in and out of XWD and PNG.