Changed Image.flip to use the Raster
making the project compilable