This command is an alias of `pamtopnm -plain`.
View documentation for the original command
tldr pamtopnm