   
   /// Simple resize of your image based to it center
   ///
-  /// - returns:
+  /// - returns: Resized image
   public func resizableImageByCenter() -> UIImage {
     
     let topBottom = self.base.size.height / 2

    
    return nil
  }
}

    return image
  }
  
  /// Creates a scaled copy of the image according to specified factor.
  ///
  /// - Parameter factor: Scaled factor
  ///
  /// - Returns: Scaled copy of the image
  func scaleImage(toFactor factor: CGFloat) -> UIImage? {
    
    guard let cgImage = self.base.cgImage, let colorSpace = cgImage.colorSpace else {
