this project finds edges in .pgm files. The next step is to convert from other files to .pgm files. I have no idea how to do that.