using Images, FileIO, Netpbm rgbimg = load("data/bitmapInputTest.ppm") greyimg = Gray.(rgbimg) save("data/bitmapOutputTest.ppm", greyimg)