{"success":true,"data":{"ext":"p25","name":"P25","description":"P25 is an object template file format used by PhotoCap, a digital photo editing application developed by PhotoCap Company. It is used to store reusable layout elements, decorative objects, and preset compositions for creating edited images and album pages. The format is generally safe and is associated with older versions of PhotoCap, so files from untrusted sources should still be opened with current software.","mime":[],"risk_level":"Safe","signatures":[{"hex":"65 87 78 56","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":["obt"],"usage":{"python":"def is_p25(file_path: str) -> bool:\n    \"\"\"Check if file is a valid P25 by magic bytes.\"\"\"\n    signature = bytes([0x65, 0x87, 0x78, 0x56])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isP25(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x65, 0x87, 0x78, 0x56]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsP25(data []byte) bool {\n    signature := []byte{0x65, 0x87, 0x78, 0x56}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}