Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dpogue/cordova-plugin-webp

Cordova plugin for automatic WebP support on iOS.
https://github.com/dpogue/cordova-plugin-webp

Last synced: about 2 months ago
JSON representation

Cordova plugin for automatic WebP support on iOS.

Awesome Lists containing this project

README

        

cordova-plugin-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 cordova-plugin-webp
```

Version History
---------------

* **v2.2.0** - Add support for `?cdvwebp=true` to force URL intercepting
* **v2.1.0** - Add support for data URIs (<= iOS9 only)
* **v2.0.0** - Updated to WebP 0.5.1, renamed to cordova-plugin-webp
* **v1.2.0** - Updated to WebP 0.4.4
* **v1.1.0** - Updated to WebP 0.4.3, published to npm
* **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 from ``libwebp/iosbuild.sh``

```bash
$ git submodule update --init
$ cd libwebp
$ ./iosbuild.sh
$ rm -rf ../src/ios/WebP.framework
$ cp -r ./WebP.framework ../src/ios/
```

Licence
-------

Licensed under the Mozilla Public License Version 2.0.