//
//  UIImage+.swift
//  deeper
//
//  Created by KIHYUN SO on 2021/03/01.
//

import Foundation
import UIKit

extension UIImage {
  func resized(to size: CGSize) -> UIImage {
    return UIGraphicsImageRenderer(size: size).image { _ in
      draw(in: CGRect(origin: .zero, size: size))
    }
  }
}
