VDA

image/x-tga

Safe

Magic Bytes

Offset: 1
01 01 00 00

The VDA image format is a legacy raster graphic specification originally developed by Truevision for use with their specialized video hardware. It served as an early variant of the Targa file structure, primarily utilized for high-resolution image capture and digital photo manipulation in professional broadcast environments. As an uncompressed or simple RLE-encoded bitmap format, it carries a low security risk and is now largely considered obsolete, having been superseded by the unified TGA standard.

Extension

.vda

MIME Type

image/x-tga

Byte Offset

1

Risk Level

Safe

Validation Code

How to validate .vda files in Python

Python
def is_vda(file_path: str) -> bool:
    """
    Check if file is a valid VDA by magic bytes.
    Signature offset: 1 bytes
    """
    signature = bytes([0x01, 0x01, 0x00, 0x00])
    with open(file_path, "rb") as f:
        f.seek(1)
        return f.read(4) == signature

How to validate .vda files in Node.js

Node.js
function isVDA(buffer: Buffer): boolean {
  // Signature offset: 1 bytes
  const signature = Buffer.from([0x01, 0x01, 0x00, 0x00]);
  if (buffer.length < 5) return false;
  return buffer.subarray(1, 5).equals(signature);
}
Go
func IsVDA(data []byte) bool {
    // Signature offset: 1 bytes
    signature := []byte{0x01, 0x01, 0x00, 0x00}
    if len(data) < 5 {
        return false
    }
    return bytes.Equal(data[1:5], signature)
}

API Endpoint

GET /api/v1/vda
curl https://filesignature.org/api/v1/vda

Related Formats