I'm trying to attach a photo(UIImage) in my iOS application from the Photos app. The original size of the image is ~10MB but when I process it with
image?.jpegData(compressionQuality: 0.7)
the output size of the image becomes ~25MB.
Can anyone suggest as to what might be happening here?
