The asciitopgm command is a utility from the Netpbm library that is designed to convert ASCII graphic representations into Portable GrayMap (PGM) images.