A set of utilities for converting to/from the netpbm (and related) formats
https://netpbm.sourceforge.net/