Free webp to jpg
Image MIME Reference
Tencent-TAP

Tencent TAP Image

image/vnd.tencent.tap
VS

X Pixmap

image/x-xpixmap
XPM

A complete technical comparison of Tencent TAP Image and X Pixmap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature Tencent-TAP XPM
Transparency (Alpha) ✕ No Yes
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support ✕ No ✕ No
EXIF Metadata ✕ No ✕ No
ICC Color Profile ✕ No ✕ No
Tencent TAP Image
image/vnd.tencent.tap
Extension
.tap
Container Proprietary Tencent Container
Compression Unknown (Proprietary)
Algorithm
Unknown
Color Depth Unknown
Developed by Tencent (Registered by Ni Hui)
Released 2014
Magic Bytes
Unknown (Proprietary)
Full Tencent-TAP reference →
X Pixmap
image/x-xpixmap
Extension
.xpm
Container C Source Code Header (.c / .h)
Compression Uncompressed (Source Code)
Algorithm
None
Color Depth Indexed Color (Custom Palette with RGB and Alpha 'None')
Developed by Daniel Dardailler and Colas Nahaboo (Bull / X Consortium)
Released 1989
Magic Bytes
2F 2A 20 58 50 4D 20 2A 2F (ASCII '/* XPM */')
Full XPM reference →

Browser Support Comparison

Browser Tencent-TAP XPM
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
Tencent-TAP

Tencent-TAP Strengths

  • Officially registered with IANA, ensuring a unique MIME type identifier for internal Tencent network routing and content negotiation
Limitations
  • Completely undocumented and closed-source, making it impossible to decode or parse outside of Tencent's software
  • Shares its file extension (.tap) with numerous other established legacy formats, leading to frequent automated file misidentification by Node/Python libraries
XPM

XPM Strengths

  • Can be compiled directly into C or C++ source code without requiring an external asset loading mechanism
  • Human-readable palette mapping allows developers to inspect, modify, or hand-craft icons directly within a text editor
  • Native support for color palettes and transparency via the 'None' keyword
Limitations
  • Extremely inefficient storage structure for large images, resulting in massive file bloat compared to binary formats like PNG
  • Completely obsolete and unsupported in modern web browsers
  • Parsing overhead requires compiling or interpreting text-based color tables at runtime

When to choose which format

Tencent-TAP
Use Tencent-TAP when…
  • Internal Tencent Ecosystem Applications
  • Proprietary Mobile or Gaming Assets
XPM
Use XPM when…
  • X Window System (X11) Application Icons and Cursors
  • Embedded C/C++ Firmware Color UI Assets
  • Early Linux Desktop Environment Themes
Share this comparison