{"success":true,"data":{"ext":"lbm","name":"LBM","description":"Interleaved Bitmap (LBM) is a legacy bitmap image format originally developed by Electronic Arts for use with Deluxe Paint and related Amiga software. It was used for storing still images, icons, and animation frames in early multimedia and game development workflows. The format is now largely obsolete, and files from untrusted sources should be handled carefully because legacy image parsers may contain vulnerabilities or compatibility issues.","mime":[],"risk_level":"Safe","signatures":[{"hex":"46 4F 52 4D","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"49 4C 42 4D","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_lbm(file_path: str) -> bool:\n    \"\"\"Check if file is a valid LBM by magic bytes.\"\"\"\n    signature = bytes([0x46, 0x4F, 0x52, 0x4D])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isLBM(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x46, 0x4F, 0x52, 0x4D]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsLBM(data []byte) bool {\n    signature := []byte{0x46, 0x4F, 0x52, 0x4D}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}