Skip to content

Commit 864a71e

Browse files
committed
Update README.md
1 parent 8df7931 commit 864a71e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ See more documentation in [SDWebImage Wiki - Coders](https://github.com/SDWebIma
216216

217217
The WebP codec [libwebp](https://developers.google.com/speed/webp/docs/api) we use, supports some advanced control options for encoding/decoding. You can pass them to libwebp by using the wrapper top level API:
218218

219+
+ Objective-C
220+
219221
```objective-c
220222
UIImage *image;
221223
SDImageCoderOptions *options = @{SDImageCoderEncodeWebPMethod: @(0), SDImageCoderEncodeWebPAlphaCompression: @(100)};

0 commit comments

Comments
 (0)