FAXX
application/octet-stream
Magic Bytes
Offset: 0
46 4F 52 4D 46 41 58 58
FAXX is a legacy raster image format based on the Interchange File Format (IFF) standard originally developed by Electronic Arts for Commodore Amiga systems. It was primarily utilized for storing monochrome facsimile data and bitmapped graphics generated by early telecommunications software on these platforms. Although the format is now obsolete, it is considered safe for modern systems, though viewing requires specialized emulators or conversion tools capable of interpreting these specific data structures.
Validation Code
How to validate .faxx files in Python
Python
def is_faxx(file_path: str) -> bool:
"""Check if file is a valid FAXX by magic bytes."""
signature = bytes([0x46, 0x4F, 0x52, 0x4D, 0x46, 0x41, 0x58, 0x58])
with open(file_path, "rb") as f:
return f.read(8) == signature
How to validate .faxx files in Node.js
Node.js
function isFAXX(buffer: Buffer): boolean {
const signature = Buffer.from([0x46, 0x4F, 0x52, 0x4D, 0x46, 0x41, 0x58, 0x58]);
return buffer.subarray(0, 8).equals(signature);
}
Go
func IsFAXX(data []byte) bool {
signature := []byte{0x46, 0x4F, 0x52, 0x4D, 0x46, 0x41, 0x58, 0x58}
if len(data) < 8 {
return false
}
return bytes.Equal(data[:8], signature)
}
API Endpoint
GET
/api/v1/faxx
curl https://filesignature.org/api/v1/faxx