PCV
application/octet-stream
Magic Bytes
Offset: 0
55 55 AA AA
The PCV file format is a proprietary graphical container developed by Hofmann Software for use with the PCD View image management application. It is primarily utilized for the viewing, conversion, and organization of Kodak Photo CD images and related digital assets within specialized workflows. This format is now categorized as legacy and is largely obsolete, as modern high-resolution imaging standards and versatile file formats have replaced the original Kodak Photo CD ecosystem.
Validation Code
How to validate .pcv files in Python
Python
def is_pcv(file_path: str) -> bool:
"""Check if file is a valid PCV by magic bytes."""
signature = bytes([0x55, 0x55, 0xAA, 0xAA])
with open(file_path, "rb") as f:
return f.read(4) == signature
How to validate .pcv files in Node.js
Node.js
function isPCV(buffer: Buffer): boolean {
const signature = Buffer.from([0x55, 0x55, 0xAA, 0xAA]);
return buffer.subarray(0, 4).equals(signature);
}
Go
func IsPCV(data []byte) bool {
signature := []byte{0x55, 0x55, 0xAA, 0xAA}
if len(data) < 4 {
return false
}
return bytes.Equal(data[:4], signature)
}
API Endpoint
GET
/api/v1/pcv
curl https://filesignature.org/api/v1/pcv