{"success":true,"data":{"ext":"shr","name":"SHR","description":"SHR is a legacy multimedia file format developed by Corel for the Corel SHOW! 5.0 player. It was used to store slide shows and presentation sequences for playback in the associated viewer. As an older proprietary format, it is generally considered safe to open, though support may be limited in modern software and files should still be obtained from trusted sources.","mime":[],"risk_level":"Safe","signatures":[{"hex":"52 49 46 46 73 68 72 35","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":["ani","cda","cdr","cmx","ds4","mmm"],"usage":{"python":"def is_shr(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SHR by magic bytes.\"\"\"\n    signature = bytes([0x52, 0x49, 0x46, 0x46, 0x73, 0x68, 0x72, 0x35])\n    with open(file_path, \"rb\") as f:\n        return f.read(8) == signature","node":"function isSHR(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x52, 0x49, 0x46, 0x46, 0x73, 0x68, 0x72, 0x35]);\n  return buffer.subarray(0, 8).equals(signature);\n}","go":"func IsSHR(data []byte) bool {\n    signature := []byte{0x52, 0x49, 0x46, 0x46, 0x73, 0x68, 0x72, 0x35}\n    if len(data) < 8 {\n        return false\n    }\n    return bytes.Equal(data[:8], signature)\n}"},"category":"Images"}}