FH8
image/x-freehand
Magic Bytes
Offset: 0
41 47 44 33
The FH8 file format is a proprietary vector graphics container developed by Macromedia for version 8 of the FreeHand illustration software. It stores scalable vector images, text components, and layout information typically used for professional print design and technical illustrations. Following Adobe's acquisition of Macromedia, the product line was discontinued, rendering this an obsolete format viewable only through legacy applications or specialized conversion tools.
Validation Code
How to validate .fh8 files in Python
Python
def is_fh8(file_path: str) -> bool:
"""Check if file is a valid FH8 by magic bytes."""
signature = bytes([0x41, 0x47, 0x44, 0x33])
with open(file_path, "rb") as f:
return f.read(4) == signature
How to validate .fh8 files in Node.js
Node.js
function isFH8(buffer: Buffer): boolean {
const signature = Buffer.from([0x41, 0x47, 0x44, 0x33]);
return buffer.subarray(0, 4).equals(signature);
}
Go
func IsFH8(data []byte) bool {
signature := []byte{0x41, 0x47, 0x44, 0x33}
if len(data) < 4 {
return false
}
return bytes.Equal(data[:4], signature)
}
API Endpoint
GET
/api/v1/fh8
curl https://filesignature.org/api/v1/fh8