Scale down an image.