img2pgm -> img2fmt