Skip to content
This repository has been archived by the owner on Jul 3, 2022. It is now read-only.

dpogue/cordova-plugin-webp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

$ 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.

About

Cordova plugin for automatic WebP support on iOS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •