Fix the codecov.yaml
This commit is contained in:
parent
111f2a88cd
commit
84c97db988
|
@ -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
|
||||
```
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
coverage:
|
||||
ignore:
|
||||
- "Example"
|
||||
- "SDWebImageWebPCoderTests"
|
||||
- "Tests"
|
||||
status:
|
||||
project:
|
||||
default: off
|
||||
|
|
Loading…
Reference in New Issue