resized picture to be lower quality