changed Raster to allow for direct image