Return input image if output dimensions equal input dimensions.
Merge branch 'master' of https://github.com/nfnt/resize