{"success":true,"data":{"ext":"epsi","name":"EPSI","description":"Encapsulated PostScript Interchange (EPSI) is a legacy graphics file format defined by Adobe Systems for exchanging Encapsulated PostScript content. It is used in desktop publishing, illustration workflows, and prepress applications to store vector artwork with preview information for layout software. As a PostScript-based format, it may contain embedded code, but EPSI files are generally safe when handled by modern applications and trusted sources.","mime":["application/postscript"],"risk_level":"Safe","signatures":[{"hex":"25 21","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"04 25 21","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"C5 D0 D3 C6","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"25 21 50 53 2D 41 64 6F 62 65 2D 33 2E 30 20 45 50 53 46 2D 33 2E 30","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":["ps","ai","eps","epsf"],"usage":{"python":"def is_epsi(file_path: str) -> bool:\n    \"\"\"Check if file is a valid EPSI by magic bytes.\"\"\"\n    signature = bytes([0x25, 0x21])\n    with open(file_path, \"rb\") as f:\n        return f.read(2) == signature","node":"function isEPSI(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x25, 0x21]);\n  return buffer.subarray(0, 2).equals(signature);\n}","go":"func IsEPSI(data []byte) bool {\n    signature := []byte{0x25, 0x21}\n    if len(data) < 2 {\n        return false\n    }\n    return bytes.Equal(data[:2], signature)\n}"},"category":"Images"}}