resize image (licence)