{"success":true,"data":{"ext":"flif","name":"FLIF","description":"Free Lossless Image Format (FLIF) is a lossless raster image format developed by the FLIF project, led by Pieter Wuille and Kornel Lesiński. It is used for storing still images with efficient compression, particularly in software workflows that prioritize exact pixel preservation and archival storage. FLIF is a legacy format and is no longer actively developed, so support may be limited in modern applications, though the format itself poses no special security concerns.","mime":[],"risk_level":"Safe","signatures":[{"hex":"46 4C 49 46","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_flif(file_path: str) -> bool:\n    \"\"\"Check if file is a valid FLIF by magic bytes.\"\"\"\n    signature = bytes([0x46, 0x4C, 0x49, 0x46])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isFLIF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x46, 0x4C, 0x49, 0x46]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsFLIF(data []byte) bool {\n    signature := []byte{0x46, 0x4C, 0x49, 0x46}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}