title: SwiftUI Kingfisher blurry Image on resize
body: <p>In SwiftUI I’m using <code>Kingfisher</code> dependency for image download / cashing &amp; have a following issue, when image resized it becomes low quality and blurry.</p>
  <p>Here’s my implementation:</p>
  <pre><code>struct IconView: View {
      
      let frame: CGFloat
      let url: String
      let iconPath: String
  
      var body: some View {
          if !iconPath.isEmpty {
              KFImage(URL(string: &quot;\(url)\(iconPath)&quot;))
                  .placeholder {
                      Circle().fill(Color.primaryBackground)
                          .frame(width: frame, height: frame)
                  }
                  .setProcessor(ResizingImageProcessor(referenceSize: CGSize(width: frame , height: frame), mode: .aspectFit))
          }
      }
  }
  </code></pre>
  <p>can anyone suggest right implementation? How to not destroy image quality.</p>