{"success":true,"data":{"ext":"mng","name":"MNG","description":"Multiple-image Network Graphics (MNG) is a graphics and animation file format developed by the PNG Development Group as an extension of the Portable Network Graphics family. It was used for storing animated images, image sequences, and simple multimedia content in web pages and software applications. MNG is now largely obsolete and has limited support, but it is generally safe to view because it does not typically contain executable content.","mime":["video/x-mng"],"risk_level":"Safe","signatures":[{"hex":"8A 4D 4E 47","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":[],"usage":{"python":"def is_mng(file_path: str) -> bool:\n    \"\"\"Check if file is a valid MNG by magic bytes.\"\"\"\n    signature = bytes([0x8A, 0x4D, 0x4E, 0x47])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isMNG(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x8A, 0x4D, 0x4E, 0x47]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsMNG(data []byte) bool {\n    signature := []byte{0x8A, 0x4D, 0x4E, 0x47}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Images"}}