Update the README. Bumped version to 0.1.2
This commit is contained in:
parent
ead68a0e31
commit
8ab4c5cd14
|
@ -51,7 +51,7 @@ NSURL *webpURL;
|
|||
|
||||
// WebP image encoding
|
||||
UIImage *image;
|
||||
NSData *webpData = [UIImage sd_imageDataAsFormat:SDImageFormatWebP];
|
||||
NSData *webpData = [[SDImageWebPCoder sharedCoder] encodedDataWithImage:image format:SDImageFormatWebP options:nil];
|
||||
```
|
||||
|
||||
+ Swift
|
||||
|
@ -68,7 +68,7 @@ imageView.sd_setImage(with: webpURL)
|
|||
|
||||
// WebP image encoding
|
||||
let image: UIImage
|
||||
let webpData = image.sd_imageData(asFormat: .WebP)
|
||||
let webpData = SDImageWebPCoder.shared.encodedData(with: image, format: .webP, options: nil)
|
||||
```
|
||||
|
||||
## Example
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Pod::Spec.new do |s|
|
||||
s.name = 'SDWebImageWebPCoder'
|
||||
s.version = '0.1.1'
|
||||
s.version = '0.1.2'
|
||||
s.summary = 'WebP decoder/encoder for SDWebImage coder plugin.'
|
||||
|
||||
s.description = <<-DESC
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.1.1</string>
|
||||
<string>0.1.2</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>0.1.1</string>
|
||||
<string>0.1.2</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
|
|
Loading…
Reference in New Issue