Categories
apple ios

SwiftUI: Interpolation

To turn out some degree, I principally downloaded a 30px symbol, attempted to stretch it to ensure that it’s completely pixelated, after which attempted to interpolate it.

Obviously, you shouldn’t be the usage of a 30px symbol on a 300 width, however the level this is interpolation does assist clean out the picture.

Image("hi")
.resizable()
.interpolation(Image.Interpolation.none)
.body(width: 300, top: 200)
Image("hi")
.resizable()
.interpolation(Image.Interpolation.prime)
.body(width: 300, top: 200)