{"success":true,"data":{"ext":"lep","name":"LEP","description":"LEP is a file format for Lepton-compressed JPEG images, developed by Dropbox and maintained as part of the open-source Lepton project. It is used to store photographs and other JPEG content in a smaller, lossless form for archival storage, synchronization, and bandwidth-efficient transfer. The format is associated with software compression/decompression workflows rather than direct editing, and it is generally considered safe when handled by current decoders.","mime":[],"risk_level":"Safe","signatures":[{"hex":"CF 84 01","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_lep(file_path: str) -> bool:\n    \"\"\"Check if file is a valid LEP by magic bytes.\"\"\"\n    signature = bytes([0xCF, 0x84, 0x01])\n    with open(file_path, \"rb\") as f:\n        return f.read(3) == signature","node":"function isLEP(buffer: Buffer): boolean {\n  const signature = Buffer.from([0xCF, 0x84, 0x01]);\n  return buffer.subarray(0, 3).equals(signature);\n}","go":"func IsLEP(data []byte) bool {\n    signature := []byte{0xCF, 0x84, 0x01}\n    if len(data) < 3 {\n        return false\n    }\n    return bytes.Equal(data[:3], signature)\n}"}}}