Raster scaling