Image MIME Reference
J2C
JPEG 2000 Codestream
image/j2c
VS
Tencent TAP Image
image/vnd.tencent.tap
Tencent-TAP
A complete technical comparison of JPEG 2000 Codestream and Tencent TAP Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | J2C | Tencent-TAP |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
JPEG 2000 Codestream
image/j2c
Extension
.j2c.j2k.jpc
Container
None (Raw Bitstream)
Compression
JPEG 2000 (Discrete Wavelet Transform) / Lossless / Lossy
Algorithm
Discrete Wavelet Transform (DWT)
Color Depth
8-bit, 10-bit, 12-bit, 16-bit (Per Channel)
Developed by
Joint Photographic Experts Group (JPEG)
Released
2000
Magic Bytes
FF 4F FF 51
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)
Browser Support Comparison
| Browser | J2C | Tencent-TAP |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
J2C
J2C Strengths
- Provides state-of-the-art wavelet compression for high-end professional workflows (Digital Cinema)
- Allows for highly efficient progressive decoding (by resolution or quality layer) natively within the stream
- Supports lossless mathematical compression and high bit-depths (up to 16-bit per channel) natively
Limitations
- Lacks a standard container to store color space info or metadata, requiring external systems (like MXF or DICOM) to map colors correctly
- Extremely computationally expensive to encode and decode compared to standard DCT-based JPEG
- Zero web browser support
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
J2C
Use J2C when…
- Digital Cinema Packages (DCP)
- Medical Imaging (DICOM Payloads)
- Professional Broadcast and Archiving
- Embedded Hardware Encoding
Tencent-TAP
Use Tencent-TAP when…
- Internal Tencent Ecosystem Applications
- Proprietary Mobile or Gaming Assets