{"success":true,"data":{"ext":"fbm","name":"Fuzzy bitmap","description":"Fuzzy bitmap (FBM) is a raster image file format originally developed for the Fuzzy Bitmap image utility and preserved by image-processing software. It is used to store bitmap graphics for viewing, conversion, and archival in older Unix-based workflows and related graphics tools. The format is largely historical, and files are generally safe to open, though unsupported readers may not handle them reliably.","mime":[],"risk_level":"Safe","signatures":[{"hex":"25 62 69 74 6D 61 70","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["exr","avif","bmp","cr2","cr3","cur"],"usage":{"python":"def is_fbm(file_path: str) -> bool:\n    \"\"\"Check if file is a valid FBM by magic bytes.\"\"\"\n    signature = bytes([0x25, 0x62, 0x69, 0x74, 0x6D, 0x61, 0x70])\n    with open(file_path, \"rb\") as f:\n        return f.read(7) == signature","node":"function isFBM(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x25, 0x62, 0x69, 0x74, 0x6D, 0x61, 0x70]);\n  return buffer.subarray(0, 7).equals(signature);\n}","go":"func IsFBM(data []byte) bool {\n    signature := []byte{0x25, 0x62, 0x69, 0x74, 0x6D, 0x61, 0x70}\n    if len(data) < 7 {\n        return false\n    }\n    return bytes.Equal(data[:7], signature)\n}"},"category":"Images"}}