This program is part of Netpbm.
pgmoil was replaced in Netpbm 9.16 (July 2001) by pamoil.
pamoil is backward compatible with pgmoil, but works on color images too.