PBM to QOI
Convert Portable Bitmap (.pbm) to Quite OK Image (.qoi).
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 Quite OK Image: QOI (Quite OK Image) is a 2021 minimalist lossless format implementable in about 450 lines of C, encoding and decoding several times faster than PNG at similar ratios. Its genius is simplicity - perfect for embedded systems, game asset pipelines, and education. Convert to PNG for ecosystem compatibility, or to JPEG when photographic compression wins.