{"success":true,"data":{"ext":"pdn","name":"Paint","description":"Paint.NET (PDN) is an image file format used by Paint.NET, a raster graphics editor developed and maintained by dotPDN LLC. It is primarily used to save editable artwork, layered compositions, and project files for image creation and retouching. The format is generally safe, though, like many project-based graphics files, it may contain large embedded data and should be opened with current software from trusted sources.","mime":[],"risk_level":"Safe","signatures":[{"hex":"50 44 4E 33","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_pdn(file_path: str) -> bool:\n    \"\"\"Check if file is a valid PDN by magic bytes.\"\"\"\n    signature = bytes([0x50, 0x44, 0x4E, 0x33])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isPDN(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x50, 0x44, 0x4E, 0x33]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsPDN(data []byte) bool {\n    signature := []byte{0x50, 0x44, 0x4E, 0x33}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}