Improved solution for a colorspace / transparency issue that affects some types of images.
Update UIImage+Resize.m
Added resizedImageWithMaximumDimension method : Resizes the given input IF either dimension exceeds the maximum, but keeps the aspect ratio.  Great for making thumbnails which don’t exceed a certain width or height.
Merge branch 'master' of https://github.com/pseudostudios/UIImage-Categories