Skip to content

Commit 279004f

Browse files
committed
Update readme about how current sharpyuv integrated with Apple platform package managers...
1 parent d17f9e4 commit 279004f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,20 @@ For Swift Package Manager user, it's recommended to use the modular import inste
6767
import libwebp
6868
```
6969

70+
## About sharpyuv
71+
72+
From libwebp v1.2.3, Google separate some function into a new standalone lib called `sharpyuv`. However, it use source code from libwebp repo's `src`
73+
74+
For now, we only expose the sharpyuv public headers, but not a standalone CocoaPods/SPM/Carthage Target. In the future we may.
75+
76+
If you want to use sharpyuv functions, do something like this:
77+
78+
+ Objective-C
79+
```
80+
// This does not supports module include, means no Swift support
81+
#import <sharpyuv/sharpyuv.h>
82+
```
83+
7084
## License
7185

7286
libwebp is available under the BSD-3 license. See [the LICENSE file](https://github.com/webmproject/libwebp/blob/master/COPYING) for more info.

0 commit comments

Comments
 (0)