Convert XWD to AVIF

Turn XWD images into AVIF. The captured window at the same size, lossy at quality 60 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 screen capture as an AVIF image.The captured window keeps its width and height. The result is one lossy file.

  1. What you get

    One AVIF file of the captured window at the same width and height as the XWD file. The conversion is lossy and runs at quality 60 unless you ask for something else.

    AVIF is an AV1-based image format with better compression than WebP and support for HDR and alpha.

  2. Quality and size

    Set Quality to a value from 1 to 100. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    Set Max width or Max height to shrink a capture. Anything larger than the limit is shrunk and keeps its shape. Anything smaller stays as it is, so nothing is enlarged. Both accept values from 1 to 20000.

  3. Turning the result

    Set Rotate to turn the result clockwise by 90, 180 or 270 degrees. Without it, the image keeps the orientation of the capture.

    To go the other way, use AVIF to XWD. For other formats, see every XWD conversion.

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

  1. 01 · 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
  2. 02 · 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
  3. 03 · 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 60
  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 · AVIF

AVIF

AV1-based images with better compression than WebP and support for HDR and alpha.

Extensions
.avif
MIME type
image/avif
Kind
Images

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

terminal
$ cv convert photo.xwd photo.avif
$ cv convert photo.xwd photo.avif

Questions.What people ask about XWD to AVIF.

01OF 04

It has the same width and height. The conversion is lossy, so the picture is not an exact copy of the capture. Set Max width or Max height if you want smaller dimensions.

Quality 60 unless you set Quality to another value from 1 to 100.

No. Max width and Max height only shrink images. Anything already within the limit stays as it is.

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 AVIF.