Updated: 10 April 2004 Table Of Contents


pamtopfm - Convert PFM (Portable Float Map) image to Netpbm format


pfmtopam [-maxval=n] [-verbose] [imagefile]

All options can be abbreviated to their shortest unique prefix. You may use two hyphens instead of one. You may separate an option name and its value with white space instead of an equals sign.


This program is part of Netpbm.

pfmtopam reads a PFM (Portable Float Map) image and converts it to PAM.

See pamtopfm for a description of PFM.

If you want one of the older, more portable Netpbm formats, run the output through pamtopnm. pamtopfm creates a PAM with tuple type "RGB" or "GRAYSCALE" depending on whether or not the PFM is in the color subformat.

Use pamtopfm to convert a PFM image to Netpbm format.



This specifies the maxval for the PAM. Default is 255.


This causes pfmtopam to display messages describing the PFM input file.


pamtopfm, pam,


pfmtopam was added to Netpbm in Release 10.22 (April 2004).

Table Of Contents