UIImage category for resizing and rotating methods.