{"success":true,"data":{"ext":"wpp","name":"WordPerfect text and graphics file","description":"WordPerfect text and graphics file is a document format associated with WordPerfect, originally developed by Satellite Software International and later maintained by Corel for the WordPerfect office suite. It was used for text documents that combined formatted text with simple graphics, page layout elements, and embedded objects. The format is largely legacy today, and older files may require compatible software or conversion tools to open correctly.","mime":[],"risk_level":"Safe","signatures":[{"hex":"FF 57 50 43","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["wp","wp5","wp6","wpd","wpg"],"usage":{"python":"def is_wpp(file_path: str) -> bool:\n    \"\"\"Check if file is a valid WPP by magic bytes.\"\"\"\n    signature = bytes([0xFF, 0x57, 0x50, 0x43])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isWPP(buffer: Buffer): boolean {\n  const signature = Buffer.from([0xFF, 0x57, 0x50, 0x43]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsWPP(data []byte) bool {\n    signature := []byte{0xFF, 0x57, 0x50, 0x43}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}