.ppm PPM image

Images

MIME typeimage/x-portable-pixmap
DescriptionPPM image
AcronymPPM – Portable PixMap
CategoryImages
Signature (magic bytes)50 33 (P3)
50 36 (P6)
Based onimage/x-portable-anymap

Frequently asked questions

What is a .ppm file?

A .ppm file is a “PPM image” (MIME type image/x-portable-pixmap). PPM stands for Portable PixMap.

How do I open a .ppm 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 .ppm file?

By the bytes at the start of the file, the signature (magic bytes): 50 33 (P3) and 50 36 (P6). On Linux and macOS, file --mime-type example.ppm checks the real type regardless of the extension.

Which format is .ppm based on?

Technically a .ppm 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 .ppm?

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

Nearby entries