compiles and run: can read an image