{"id":"image-vnd-tencent-tap","mimeType":"image/vnd.tencent.tap","name":"Tencent TAP Image","shortName":"Tencent-TAP","category":"Legacy \u0026 Proprietary","extensions":[".tap"],"description":"The image/vnd.tencent.tap MIME type officially represents a proprietary image format developed by Tencent. It was registered with the Internet Assigned Numbers Authority (IANA) in September 2014 by Tencent developer Ni Hui. Due to the closed-source nature of the format and a complete lack of public documentation, its exact internal binary structure, compression methods, and specific use cases within Tencent's vast software ecosystem (such as WeChat, QQ, or Tencent Games) remain obscured to outside developers. Furthermore, the `.tap` file extension is heavily overloaded in the tech industry, causing frequent misidentification.","seo":{"title":"image/vnd.tencent.tap MIME Type | Developer Reference for Tencent TAP","description":"Complete reference for the image/vnd.tencent.tap MIME type: Tencent TAP image format, IANA registration details, and file extension conflicts.","faqs":[{"question":"What is an image/vnd.tencent.tap file?","answer":"It is a proprietary image format registered by the Chinese technology conglomerate Tencent in 2014. Because the format is undocumented publicly, its specific use case within Tencent's internal applications remains unknown."},{"question":"Why is my .tap file recognized as a Tencent image?","answer":"Many modern MIME detection libraries rely on IANA registry databases to map file extensions to MIME types. Because Tencent officially registered `.tap` for this image format, libraries often blindly assume any `.tap` file is a Tencent image, even if it is actually a CNC machine routing file or a Commodore 64 emulator tape image."},{"question":"Can I open or convert a Tencent TAP image?","answer":"No standard image viewer or web browser supports this format. Unless you are working within a specific internal Tencent application that natively generates these files, they cannot be parsed or converted by tools like ImageMagick or Photoshop."}]},"index":{"compression":["Unknown (Proprietary)"],"browserSupport":{"score":1,"label":"None"},"commonUses":["Internal Tencent Ecosystem Applications","Proprietary Mobile or Gaming Assets"]},"technical":{"magicBytes":{"hex":"Unknown (Proprietary)","ascii":"Unknown"},"container":"Proprietary Tencent Container","compressionAlgorithm":["Unknown"],"colorDepth":["Unknown"],"transparency":false,"animation":false,"metadata":{"exif":false,"xmp":false,"iccProfile":false},"alphaChannel":false,"progressiveLoading":false,"hdrSupport":false},"history":{"developer":"Tencent (Registered by Ni Hui)","released":"2014","specification":"Proprietary (Registered with IANA)"},"browserSupport":{"chrome":false,"chromeVersion":"None","firefox":false,"firefoxVersion":"None","safari":false,"safariVersion":"None","edge":false,"edgeVersion":"None","internetExplorer":false},"softwareSupport":[{"name":"Tencent Ecosystem Apps (Internal)","logo":""}],"conversion":{"convertTo":[],"convertFrom":[]},"developer":{"httpHeaders":[{"header":"Content-Type","value":"image/vnd.tencent.tap"}],"htmlAccept":"None","fileDetection":["Standard file sniffers like libmagic completely lack magic byte definitions for this proprietary Tencent format.","Because the .tap extension is heavily overloaded (used for legacy ZX Spectrum/Commodore 64 tape emulators and CNC machine g-code files), identifying it solely by extension is highly unreliable."]},"prosCons":{"pros":["Officially registered with IANA, ensuring a unique MIME type identifier for internal Tencent network routing and content negotiation"],"cons":["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"]},"specifications":{"url":"https://www.iana.org/assignments/media-types/image/vnd.tencent.tap","rfc":"","mimeAliases":[]},"developerSnippets":{"python":"import magic\n# Libmagic does not contain definitions for Tencent TAP. It will likely return 'application/octet-stream' or falsely identify it if it matches another format's signature.\nprint(magic.from_file('asset.tap', mime=True))","nodejs":"const mime = require('mime');\n// Many JS MIME libraries map the .tap extension to image/vnd.tencent.tap based purely on the IANA registry.\nconsole.log(mime.getType('asset.tap')); // Likely outputs 'image/vnd.tencent.tap', even if the file is a CNC routing script.","go":"import \"net/http\"\n// The standard net/http library cannot detect this proprietary format via byte sniffing. Relying on the .tap extension is necessary but unreliable.","php":"$mime = mime_content_type('asset.tap');\necho $mime; // Standard setups will often output 'application/octet-stream' or plain text depending on the actual contents."},"relatedFormats":[]}
