Support writing PBM files
When writing to PGM or PBM, try to automatically use a supported image type
Documentation updates for Netpbm formats