How to compress of reduce the size of an image before uploading to Parse as PFFile? (Swift)
Yes you can use UIImageJPEGRepresentation instead of UIImagePNGRepresentation to reduce your image file size. You can just create an extension UIImage as follow: Xcode 8.2 • Swift 3.0.2 extension UIImage { enum JPEGQuality: CGFloat { case lowest = 0 case low = 0.25 case medium = 0.5 case high = 0.75 case highest = 1 … Read more