Changing around writeBMP image… Screw this. PPM.