ILBM
application/octet-stream
Magic Bytes
Offset: 0
46 4F 52 4D 49 4C 42 4D
Interleaved Bitmap (ILBM) is a legacy raster image file format developed by Electronic Arts within the broader Interchange File Format (IFF) standard. It served as the primary graphic storage method for Commodore Amiga systems, utilizing interleaved bitplanes optimized for early video hardware. While the format is technically obsolete and rarely used in modern production, it persists within retro-computing communities for archiving and emulating historical digital art assets created during the 1980s and 1990s.
Validation Code
How to validate .ilbm files in Python
Python
def is_ilbm(file_path: str) -> bool:
"""Check if file is a valid ILBM by magic bytes."""
signature = bytes([0x46, 0x4F, 0x52, 0x4D, 0x49, 0x4C, 0x42, 0x4D])
with open(file_path, "rb") as f:
return f.read(8) == signature
How to validate .ilbm files in Node.js
Node.js
function isILBM(buffer: Buffer): boolean {
const signature = Buffer.from([0x46, 0x4F, 0x52, 0x4D, 0x49, 0x4C, 0x42, 0x4D]);
return buffer.subarray(0, 8).equals(signature);
}
Go
func IsILBM(data []byte) bool {
signature := []byte{0x46, 0x4F, 0x52, 0x4D, 0x49, 0x4C, 0x42, 0x4D}
if len(data) < 8 {
return false
}
return bytes.Equal(data[:8], signature)
}
API Endpoint
GET
/api/v1/ilbm
curl https://filesignature.org/api/v1/ilbm