You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to render an SVG with a bigger size than the SVG file is setting, the image will render blurry.
I tried to use the solution proposed in #24 but without success.
I had it kinda working by setting values to my CGSize like this [.imageThumbnailPixelSize : CGSize(width: 34, height: 34)] but unfortunately not all my images are square and I don't want to constraint the width.
If I try to render an SVG with a bigger size than the SVG file is setting, the image will render blurry.
I tried to use the solution proposed in #24 but without success.
I had it kinda working by setting values to my
CGSize
like this[.imageThumbnailPixelSize : CGSize(width: 34, height: 34)]
but unfortunately not all my images are square and I don't want to constraint the width.SwiftUI Rendering code
Is there a way to render the bitmap to a certain height without requesting a width while keeping the aspect ratio of the image?
The text was updated successfully, but these errors were encountered: