uiimage to 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()