Uiimage a Data Swift
let pngImageData = imageObj.pngData()
let jpegData = imageObj.jpegData(compressionQuality: 1)
Vel
let pngImageData = imageObj.pngData()
let jpegData = imageObj.jpegData(compressionQuality: 1)
let uiImage = UIImage(systemName: "circle.fill")
let image = Image(uiImage: uiImage)
image.pngData()