Convert a PPM image to the Interleaf image format. More information: https://netpbm.sourceforge.net/doc/ppmtoleaf.html.
ppmtoleaf path/to/file.ppm > path/to/file.leaf