Open c0d3r85 opened 8 years ago
that's why we cannot change the quality of the image on IOS ? Looks like not working in my end.
This is a bug in docs, you should pass quality from 0 to 1 -- anything above 1 is taken as 1. If you look at the code quality is passed as floatvalue
In iOS compressionQuality is a float number between 0.0 and 1.0 (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/#//apple_ref/c/func/UIImageJPEGRepresentation), so you need to scale quality param in iOS