X Window Dump (Legacy MIME Alias)
image/x-xwindowdump
Released 1987
· by MIT / X Consortium (X Window System)
The image/x-xwindowdump MIME type is a legacy, descriptive alias for the X Window Dump (XWD) format. Developed for the X Window System (X11) in the late 1980s, XWD files are created when the X server serializes the raw pixel contents of a display window into a binary file. While 'image/x-xwd' or 'image/xwd' are more commonly used in modern configurations, 'image/x-xwindowdump' was historically registered in older Apache web servers, email handlers, and Unix MIME tables to explicitly describe the file's origin. The underlying file structure remains identical to standard XWD files, featuring a 100-byte header followed by raw framebuffer data.
Technical Specifications
.xwd.wd
None
image/x-xwdimage/xwdapplication/x-xwindowdump
Magic Bytes & HTTP Headers
None (Big-endian header size integer)
Browser Support Matrix
| Browser | Status | Min Version |
|---|---|---|
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | Legacy |
Advantages & Limitations
- Provides an exact, raw pixel dump directly from the X11 display server memory without compression overhead
- Extremely fast for Unix environments to generate during low-level graphical debugging
- Completely uncompressed, resulting in large, bloated file sizes
- Zero support in web browsers or modern desktop environments without specialized graphics translation tools
- Verbose legacy MIME strings like 'image/x-xwindowdump' require backend normalization in modern applications
Developer Code Snippets
File Detection Steps
How to programmatically detect a image/x-xwindowdump
file by reading its raw bytes:
- 1 XWD files lack a human-readable magic string, but feature a reliable 8-byte big-endian header structure.
- 2 The first 4 bytes contain a 32-bit big-endian integer representing the header length (typically 100, or Hex: 00 00 00 64).
- 3 The next 4 bytes (offset 4) define the file version (typically version 7, or Hex: 00 00 00 07).
- 4 When encountering 'image/x-xwindowdump' in legacy server logs or file uploads, you can safely normalize the MIME string to 'image/x-xwd'.
Software Support
ImageMagick
Conversion Tools
Share & Embed
[](https://freewebptojpg.com/mime/image/xwd)
<iframe src="https://freewebptojpg.com/mime/image/xwd/embed" width="100%" height="280" style="border:1px solid #cbd5e1;border-radius:8px;" title="XWD Specs"></iframe>
JSON API
All data on this page is available as a free, open JSON API. Use it in your project, documentation, or tooling.
GET https://freewebptojpg.com/mime/image/xwd.json
Open JSON
Frequently Asked Questions
What is the difference between image/x-xwindowdump and image/x-xwd?
There is no difference in the underlying image file. Both refer to the X Window Dump (XWD) screenshot format. 'image/x-xwindowdump' is simply a more verbose, descriptive legacy alias found in older server configurations.
How do I open an XWD file?
Modern web browsers and default desktop viewers do not support XWD files natively. You must use utility software like ImageMagick or GIMP to convert them into standard formats like PNG or JPEG.
How can I detect an XWD file programmatically?
XWD files begin with a binary header. You can identify them by reading the first 4 bytes as a big-endian 32-bit integer representing the header size (typically 100 bytes or 0x64), followed by the version number 7 at offset 4.