python-pillow/Pillow — pull request #892 by radarhere (2014-09-10 00:45:54+00:00)
Title: Avoid resize operation if image is already the correct size

For the sake of speed, if the image being resized is already the correct size, do not run the resize operation.