.pbm PBM image

Images

MIME typeimage/x-portable-bitmap
DescriptionPBM image
AcronymPBM – Portable BitMap
CategoryImages
Signature (magic bytes)50 31 (P1)
50 34 (P4)
Based onimage/x-portable-anymap

Frequently asked questions

What is a .pbm file?

A .pbm file is a “PBM image” (MIME type image/x-portable-bitmap). PBM stands for Portable BitMap.

How do I open a .pbm file?

With any image viewer that supports the format – the Photos app on Windows, Preview on macOS, Eye of GNOME or GIMP on Linux. For unusual formats a converter such as ImageMagick helps.

How can you tell a genuine .pbm file?

By the bytes at the start of the file, the signature (magic bytes): 50 31 (P1) and 50 34 (P4). On Linux and macOS, file --mime-type example.pbm checks the real type regardless of the extension.

Which format is .pbm based on?

Technically a .pbm file is a subtype of “PNM image” (image/x-portable-anymap), so programs for that base format can often read it too.

Which MIME type belongs to .pbm?

The MIME type is image/x-portable-bitmap. In the Apache web server: AddType image/x-portable-bitmap .pbm; in nginx: types { image/x-portable-bitmap pbm; }.

Nearby entries