Commit Graph

3 Commits

Author SHA1 Message Date
Pete Walters
b3c14576a0
Update libwebp to 1.3.2 2023-09-14 14:20:38 -05:00
Evan Hahn
97322aaef8 Use libwebp on CocoaPods instead of our vendored one
This should have no direct user impact.

We recently upgraded `libwebp` in
e3fa7848e5. At the time, [the official
pod][cocoapod] was out of date, so we vendored it in. It's now there, so
we should use it.

[cocoapod]: https://cocoapods.org/pods/libwebp
2022-08-18 07:38:13 -05:00
Evan Hahn
e3fa7848e5 Upgrade libwebp to v1.2.3
This upgrades `libwebp` (a subdependency of `YYImage`) from v1.0.2 to its
latest version, v1.2.3.

As of this writing, the [libwebp pod does not have v1.2.3][0], so I
modified [the v1.2.1 podspec][1] and vendored it into the project. You
may wish to [compare the v1.2.1 podspec with my version][2]. In the long
term, I will try to get this change submitted upstream.

I tested this with a variety of stickers (usually sent as WebP), [WebP's
alpha test images][2], and [a test WebP image from the Desktop app][3].

[0]: 11f1b72927/Specs/1/9/2/libwebp
[1]: b04c376a0d/Specs/1/9/2/libwebp/1.2.1/libwebp.podspec.json
[2]: https://gist.github.com/EvanHahn-Signal/c87c301d2d7359df961bb85dd531a91c
[3]: https://developers.google.com/speed/webp/gallery2#webp_links
[4]: 412f07d2a2/fixtures/512x515-thumbs-up-lincoln.webp
2022-08-01 15:55:52 -05:00