rescale sample images