Improved image quality by not reescaling if not needed.