Tested with:
This plugin can read and write pbm, pgm, ppm and pnm files - the Netpbm image formats (a.k.a. Portable Bit Map/bitmap, Portable Gray Map/graymap, Portable Pixel Map/pixmap, Portable Anymap). In PGM and PPM formats, both 1 byte and 2 byte deep formats are supported.
Please contact the author with bug reports, comments or suggestions. The latest version is always available here.