diff --git a/README.md b/README.md index 49d268c..9599f05 100644 --- a/README.md +++ b/README.md @@ -186,6 +186,7 @@ NSData *limitedWebpData = [[SDImageWebPCoder sharedCoder] encodedDataWithImage:i // WebP image encoding let image: UIImage let webpData = SDImageWebPCoder.shared.encodedData(with: image, format: .webP, options: nil) +// Encode Quality let lossyWebpData = SDImageWebPCoder.shared.encodedData(with: image, format: .webP, options: [.encodeCompressionQuality: 0.1]) // [0, 1] compression quality let limitedWebpData = SDImageWebPCoder.shared.encodedData(with: image, format: .webP, options: [.encodeMaxFileSize: 1024 * 10]) // v0.6.0 feature, limit output file size <= 10KB ``` diff --git a/codecov.yml b/codecov.yml index 406a6ba..c628436 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,7 +1,7 @@ coverage: ignore: - "Example" - - "SDWebImageWebPCoderTests" + - "Tests" status: project: default: off