Convert XWD to JPG

Turn XWD images into JPEG. The captured window at the same size at quality 90 unless asked otherwise.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An X Window screen capture as a JPG.The captured window keeps its size and is saved at quality 90.

  1. What you get

    A JPG of the captured window at the same width and height as the XWD file. Quality is 90 unless you set another value. JPG opens on every device and browser.

    The result is one file.

  2. What changes

    JPG uses lossy compression, so some detail is given up when the capture is saved. Quality sets how much detail is kept. A higher value keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    JPG has no transparency, so the result has no transparent areas.

  3. Options

    Set Max width or Max height to shrink a large capture. Each one shrinks only what is larger than the value and keeps the shape. A smaller capture stays as it is, so nothing is enlarged. Both accept 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.

  4. When it stops

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

XWD and JPG.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 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 90
  5. 05 · 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 · JPG

JPEG

Lossy photo compression that every device and browser opens. Small files, no transparency.

Extensions
.jpg .jpeg .jfif .jpe
MIME type
image/jpeg
Kind
Images

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

terminal
$ cv convert photo.xwd photo.jpg
$ cv convert photo.xwd photo.jpg

Questions.What people ask about XWD to JPG.

01OF 04

Yes. The width and height stay the same unless you set Max width or Max height. Those only shrink larger captures.

Yes. Set Quality from 1 to 100. The default is 90.

The file could not be parsed. The conversion stops with this code when it cannot read the XWD file.

Yes. Set Rotate to 90, 180 or 270 to turn the result clockwise by that many degrees.

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