PBM to PFM
Convert Portable Bitmap (.pbm) to Portable FloatMap (.pfm).
Source Portable Bitmap: PBM (Portable Bitmap) is the simplest member of the Netpbm family: a text header followed by pure black-and-white pixels, so a dozen lines of code can read or write it. Teaching materials, bitmap fonts, fax pipelines, and OCR preprocessing use it as a no-frills stepping stone. Convert to PNG or JPEG for general use, or batch-convert to PDF to bind multipage scans.
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.