I don’t know why, but my answer yesterday did not get send properly…
So what I said was:
You could replace UIGraphicsImageRenderer(bounds: bounds) with UIGraphicsImageRenderer(bounds: *CGRect*) or UIGraphicsImageRenderer(frame: *CGSize*).
I think in both cases "*CGSize*" should change the image size.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: