Linked Questions

Popular Questions

Currently, I am using below to upload an image in Azure blob

  let im:UIImage = catImage[i]
            let imageData = im.pngData()
            blob.upload(from: imageData!, completionHandler:{(NSError) -> Void in
                print( i , "uploaded")

                print(blob.metadata)
                print(i , imageData)
            })

but I am losing image quality because of pngdata(). What else I can use without losing quality.

Related Questions