Monochrome Picture TIFF bitmap file

application/octet-stream

Safe

Magic Bytes

Offset: 0
0D 44 4F 43

The Monochrome Picture is a legacy raster graphics format, occasionally referenced as a specialized TIFF bitmap, developed for the Tandy DeskMate operating environment. It was primarily utilized to store low-resolution black-and-white images for word processing documents and rudimentary drawing applications within the software suite. Although the format is obsolete and poses no modern security risks, accessing its contents currently requires specific file conversion utilities or legacy system emulation.

Extension

.mp

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .mp files in Python

Python
def is_mp(file_path: str) -> bool:
    """Check if file is a valid MP by magic bytes."""
    signature = bytes([0x0D, 0x44, 0x4F, 0x43])
    with open(file_path, "rb") as f:
        return f.read(4) == signature

How to validate .mp files in Node.js

Node.js
function isMP(buffer: Buffer): boolean {
  const signature = Buffer.from([0x0D, 0x44, 0x4F, 0x43]);
  return buffer.subarray(0, 4).equals(signature);
}
Go
func IsMP(data []byte) bool {
    signature := []byte{0x0D, 0x44, 0x4F, 0x43}
    if len(data) < 4 {
        return false
    }
    return bytes.Equal(data[:4], signature)
}

API Endpoint

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

Related Formats