Utilities for manipulating PBM / PGM / PPM files