FHC
image/x-freehand
Magic Bytes
Offset: 0
41 47 44 32
The FHC file format is a legacy vector graphics drawing type originally associated with Aldus FreeHand, specifically serving as the default container for version 3 documents. Designers primarily utilized this format for creating scalable vector illustrations, technical drawings, and complex page layouts before the software's eventual discontinuation. As a file type superseded by newer iterations and the Adobe Illustrator ecosystem, accessing these documents now typically requires legacy software or specialized vector conversion utilities.
Validation Code
How to validate .fhc files in Python
Python
def is_fhc(file_path: str) -> bool:
"""Check if file is a valid FHC by magic bytes."""
signature = bytes([0x41, 0x47, 0x44, 0x32])
with open(file_path, "rb") as f:
return f.read(4) == signature
How to validate .fhc files in Node.js
Node.js
function isFHC(buffer: Buffer): boolean {
const signature = Buffer.from([0x41, 0x47, 0x44, 0x32]);
return buffer.subarray(0, 4).equals(signature);
}
Go
func IsFHC(data []byte) bool {
signature := []byte{0x41, 0x47, 0x44, 0x32}
if len(data) < 4 {
return false
}
return bytes.Equal(data[:4], signature)
}
API Endpoint
GET
/api/v1/fhc
curl https://filesignature.org/api/v1/fhc