{"success":true,"data":{"ext":"ds4","name":"Micrografx Designer v4 graphic file","description":"Micrografx Designer v4 graphic file is a vector illustration format created by Micrografx for its Designer software, a product later maintained through legacy support and conversion tools after the company’s acquisition by Corel. It was used for page layout, technical drawings, diagrams, and other desktop publishing artwork. The format is now largely obsolete, and while generally safe to open, older files may require compatibility software or conversion.","mime":[],"risk_level":"Safe","signatures":[{"hex":"52 49 46 46","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["ani","cda","cdr","cmx","mmm","qcp"],"usage":{"python":"def is_ds4(file_path: str) -> bool:\n    \"\"\"Check if file is a valid DS4 by magic bytes.\"\"\"\n    signature = bytes([0x52, 0x49, 0x46, 0x46])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isDS4(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x52, 0x49, 0x46, 0x46]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsDS4(data []byte) bool {\n    signature := []byte{0x52, 0x49, 0x46, 0x46}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Images"}}