{"success":true,"data":{"ext":"mp","name":"Monochrome Picture TIFF bitmap file","description":"Monochrome Picture TIFF bitmap file is a monochrome bitmap image format based on the Tagged Image File Format (TIFF) specification, originally developed by Aldus and later maintained by Adobe. It is used for storing black-and-white graphics, scanned documents, fax images, and other simple raster artwork in archival and desktop publishing workflows. As a legacy image variant, it is generally low risk, though any raster file should be handled cautiously when received from untrusted sources.","mime":[],"risk_level":"Safe","signatures":[{"hex":"0C ED","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_mp(file_path: str) -> bool:\n    \"\"\"Check if file is a valid MP by magic bytes.\"\"\"\n    signature = bytes([0x0C, 0xED])\n    with open(file_path, \"rb\") as f:\n        return f.read(2) == signature","node":"function isMP(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x0C, 0xED]);\n  return buffer.subarray(0, 2).equals(signature);\n}","go":"func IsMP(data []byte) bool {\n    signature := []byte{0x0C, 0xED}\n    if len(data) < 2 {\n        return false\n    }\n    return bytes.Equal(data[:2], signature)\n}"}}}