rawtoppm (1) Linux Manual Page
rawtoppm – convert raw RGB bytes into a portable pixmap Synopsisrawtoppm [-headerskip N] [-rowskip N] [-rgb|-rbg|-grb |-gbr|-brg|-bgr ] [-interpixel|-interrow] width height [imagedata] DescriptionReads raw RGB bytes as input. Produces a portable pixmap as output. The input file is just RGB bytes. You have to specify the width and height on the command line, since the…
