Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soywiz-archive/as3libwebp
Load and save WEBP images on Flash using FlashCC or faster ANEs
https://github.com/soywiz-archive/as3libwebp
Last synced: 16 days ago
JSON representation
Load and save WEBP images on Flash using FlashCC or faster ANEs
- Host: GitHub
- URL: https://github.com/soywiz-archive/as3libwebp
- Owner: soywiz-archive
- Created: 2013-08-27T04:09:16.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-07T19:10:51.000Z (almost 10 years ago)
- Last Synced: 2024-05-02T02:10:25.932Z (6 months ago)
- Language: C
- Homepage:
- Size: 14.2 MB
- Stars: 30
- Watchers: 7
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
as3libwebp
==========Load and save WEBP images on Flash using FlashCC or faster ANEs
### Sample
http://soywiz.github.io/as3libwebp/
[![ScreenShot](http://soywiz.github.io/as3libwebp/sample.jpg)](http://soywiz.github.io/as3libwebp/)
### API
```as3
package libwebp;
function DecodeWebp(webpByteArray:ByteArray):BitmapData;
function EncodeWebp(input:BitmapData, quality:Number):ByteArray;
```SWC supported on all platforms including web. It uses FlashCC so it is portable but runs ~3x-5x times slower:
* You must include bin/libwebp.swcANE supported for AIR Windows and Android. It uses native libraries so it will run as fast as possible:
* You must include bin/libwebp.ane