swiftui reduce img size buy keep resoslution code example
Example: set image width and height swiftui
Image(room.thumbnailImage).resizable()
.frame(width: 32.0, height: 32.0)
Image(room.thumbnailImage).resizable()
.frame(width: 32.0, height: 32.0)