Free webp to jpg
Image MIME Reference
CGM

Computer Graphics Metafile

image/cgm
VS

Tencent TAP Image

image/vnd.tencent.tap
Tencent-TAP

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

Equal browser support

Feature Support

Feature CGM Tencent-TAP
Transparency (Alpha) Yes ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support ✕ No ✕ No
EXIF Metadata ✕ No ✕ No
ICC Color Profile Yes ✕ No
Computer Graphics Metafile
image/cgm
Extension
.cgm
Container CGM
Compression Uncompressed / Binary / Character / Clear Text
Algorithm
Deflate (in some WebCGM profiles)
Color Depth 8-bit, 16-bit, 24-bit, 32-bit
Developed by ISO / IEC
Released 1987
Magic Bytes
00 20 (Binary) / 42 45 47 49 4E 20 4D 45 54 41 46 49 4C 45 (Clear Text)
Full CGM reference →
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 →

Browser Support Comparison

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

CGM Strengths

  • Strictly standardized by ISO, ensuring long-term archiving and cross-platform compatibility in engineering
  • Excellent support for rich metadata, hyperlinks, and technical hotspots via the WebCGM profile
  • Can store complex 2D geometry, rasters, and text in a single lightweight file
Limitations
  • Multiple encoding schemes (Binary, Character, Clear Text) make parser development difficult
  • Zero native support in modern web browsers without third-party plugins
  • Largely replaced by SVG for general-purpose 2D vector graphics on the web
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

When to choose which format

CGM
Use CGM when…
  • Technical Illustrations
  • Aerospace & Defense (S1000D)
  • CAD/CAM
  • Geophysics
Tencent-TAP
Use Tencent-TAP when…
  • Internal Tencent Ecosystem Applications
  • Proprietary Mobile or Gaming Assets
Share this comparison