Convert a PBM image to a wireless bitmap file. More information: https://netpbm.sourceforge.net/doc/pbmtowbmp.html.
pbmtowbmp path/to/input_file.pbm > path/to/output_file.wbmp