How large are the differences?
I just tested both methods and they look at least visually the same.
Based on the code from save_image 52 and to_pil_image 35 I would also expect to get the same result (I’m not sure, if the addition of 0.5 will be visible or not).