Image MIME Reference
PSD
Adobe Photoshop Document
image/vnd.adobe.photoshop
VS
X Window Dump (Legacy MIME Alias)
image/x-xwindowdump
XWD
A complete technical comparison of Adobe Photoshop Document and X Window Dump (Legacy MIME Alias) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | PSD | XWD |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | Yes | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
Adobe Photoshop Document
image/vnd.adobe.photoshop
Extension
.psd.psb.pdd
Container
Adobe Photoshop Document (PSD/PSB)
Compression
Uncompressed / RLE (Run-Length Encoding) / ZIP
Algorithm
RLEZIP (with or without prediction)None
Color Depth
1-bit (Bitmap), 8-bit, 16-bit, 32-bit (Float/HDR)
Developed by
Adobe Systems
Released
1990
Magic Bytes
38 42 50 53
X Window Dump (Legacy MIME Alias)
image/x-xwindowdump
Extension
.xwd.wd
Container
XWDHeader / XWDFileHeader Structure
Compression
Uncompressed
Algorithm
None
Color Depth
8-bit (Indexed), 16-bit (High Color), 24-bit (True Color), 32-bit (True Color with Alpha/Padding)
Developed by
MIT / X Consortium (X Window System)
Released
1987
Magic Bytes
00 00 00 64 (Typically indicates a 100-byte header size followed by version)
Browser Support Comparison
| Browser | PSD | XWD |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
PSD
PSD Strengths
- The undisputed global standard for layered raster graphics and non-destructive image editing
- Supports incredibly complex compositions combining raster data, vector shapes, live text, and adjustment layers
- Full support for advanced color spaces (CMYK, Lab, multi-channel) and 32-bit floating-point HDR workflows
Limitations
- Proprietary format: while the specification is published, complete feature-parity is rarely achieved by third-party software (e.g., smart objects and complex layer styles often break)
- Files can reach enormous sizes (gigabytes) due to the preservation of unflattened, high-resolution layer data
- Zero support for native rendering in web browsers or standard mobile image viewers
XWD
XWD Strengths
- 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
Limitations
- 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
When to choose which format
PSD
Use PSD when…
- Professional Photo Retouching
- Digital Painting and Illustration
- UI/UX Design Workflows
- Graphic Design and Print Production
XWD
Use XWD when…
- X Window System (X11) Display Debugging and Screenshots
- Legacy Unix/Linux System Administration