WebP

WebP support for iOS UIWebView
dpogue1.0.14
platforms: ios
$ cordova plugin add ca.dpogue.webp

ca.dpogue.webp

Cordova Plugin to automatically add WebP support for iOS web views. Works for images referenced in HTML, CSS, or JS, including ones packaged with the app and loaded from the device filesystem.

Installing

With the Cordova command-line tools:

cordova plugin add ca.dpogue.webp

Version History

  • v1.0.1 - Updated WebP.framework to support arm64
  • v1.0.0 - Initial version, based on libwebp 0.4.2

Acknowledgements

This is largely a repackaging of work by Scott Talbot. You can find his original code at https://github.com/cysp/STWebPDecoder

The WebP.framework bundle was generated using scripts from https://github.com/carsonmcdonald/WebP-iOS-example

Licence

Licensed under the Mozilla Public License Version 2.0.