PNM to PFM
Convert Portable Any Map (.pnm) to Portable FloatMap (.pfm).
Source Portable Any Map: PNM (Portable Any Map) is the umbrella for Netpbm's family - PBM, PGM, PPM, and PAM - defined by a philosophy of minimal headers and raw pixels that any language can parse in minutes. It remains the hub format for ImageMagick and Netpbm toolchains and a teaching staple. Convert to PNG or JPEG for daily use, or to TIFF for professional workflows.
Target Portable FloatMap: PFM (Portable FloatMap) stores 32-bit floating-point pixels for HDR imagery - linear light data with full dynamic range from renderers like PBRT and environment maps for PBR lighting. Convert to EXR for film-grade compositing, to HDR/Radiance for game-engine lighting, or tone-map to PNG and JPEG for display.