Fix the codecov.yaml

This commit is contained in:
DreamPiggy 2020-04-16 18:33:09 +08:00
parent 111f2a88cd
commit 84c97db988
2 changed files with 2 additions and 1 deletions

View File

@ -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
```

View File

@ -1,7 +1,7 @@
coverage:
ignore:
- "Example"
- "SDWebImageWebPCoderTests"
- "Tests"
status:
project:
default: off