a tool to script PrecisionX .PGM files