resovled image after resizing has white border