SDWebImageSwiftUI
SDWebImageSwiftUI copied to clipboard
WebImage image from URL renders a white background even though the image is transparent
Hi! I'm rendering a WebImage from a URL.
When I pass the URL, the image that renders in my Swift view has a white background even though the image itself is transparent. Does WebImage render transparent PNGs or add a white background?
WebImage(url: URL(string: "<URL_WITH_IMAGE>")))
.resizable()
.scaledToFit()
.frame(width: poseWidth, height: poseHeight)
Thanks!