Implemented the UIImage Resize Category.