Home  /  File formats  /  pfm

PFM file format

Extension.pfm
Categoryimages
DescriptionPFM (Portable Float Map) is a grayscale or RGB image file format that stores pixel data as floating-point values. It was developed by Microsoft for use in printing and is commonly used in desktop publishing and graphics applications.
Technical detailsThe PFM format consists of two parts: a header and pixel data. The header contains information about the image, such as its size, color depth, and other parameters. The pixel data is stored as a series of floating-point values in row-major order, with each value representing the intensity of a single pixel. PFM files can be either grayscale or RGB. Grayscale images are stored as a single channel of floating-point values, while RGB images are stored as three channels of floating-point values, one for each color channel (red, green, and blue).