scale image and modify the resolusion