mbcharbonneau/UIImage-Categories — pull request #15 by brianpseudo (2013-11-05 07:53:42+00:00)
Title: Added resizedImageWithMaximumDimension method

```
- (UIImage *)resizedImageWithMaximumDimension:(CGFloat)maximumWidthOrHeight
interpolationQuality:(CGInterpolationQuality)quality;
```

Returns a copy of the given input, resized if either dimension exceeds the maximum, keeping the aspect ratio. Great for making thumbnails which don’t exceed a certain width or height.