- Forums
- »
- General Discussion
- »
- Webp image and Opus audio formats support
|
Viewing 1 to 9 (9 Total) Webp image and Opus audio formats support |
|
|---|---|
soywizTotal Posts: 11
Joined: August 29, 2012
|
I have created a project in order to enable webp decoding. webp.Webp.getDecoderVersion():String Example: var webpData = File.getBytes('C:/dev/webp/test2.webp'); It allows to decode webp data into a BitmapData object. It is binded with webp 0.2.0 which have lossy, lossless compression and alpha support. And compresses better than JPEG and PNG so it is ideal for mobile projects. http://developers.google.com/speed/webp/... http://code.google.com/p/webp/ I have successfully compiled for in windows and now I'm trying to compile it for other platforms. Any help testing would be highly appreciated. --- I have created other project to handle the opus audio codec which performs pretty good (much better than ogg and mp3, specially for speech files; that codec is an evolution of the speex codec but also works fine for music audio files). http://www.speex.org/ http://opus-codec.org/ http://lib.haxe.org/p/nme-opus http://github.com/soywiz/haxe-nme-opus...... Usage: var sound:Sound = Opus.decode(File.getBytes('C:/projects/test.opus')); sound.play();
Tags:
Posted on October 19, 2012 at 9:30 AM
|
FrankyTotal Posts: 87
Joined: February 26, 2012
|
Re: Webp supportAwesome, I am off to install it with haxelib.
Posted on October 19, 2012 at 4:23 PM
|
soywizTotal Posts: 11
Joined: August 29, 2012
|
Re: Webp supportGreat!
Posted on October 19, 2012 at 9:50 PM
|
FrankyTotal Posts: 87
Joined: February 26, 2012
|
Re: Webp supportIt's like xmas in here... simply incredible dev-o-rama streak you got going. Much respect.
Posted on October 19, 2012 at 11:28 PM
|
soywizTotal Posts: 11
Joined: August 29, 2012
|
Re: Webp image and Opus audio formats supportI'm glad you like it!
Posted on October 20, 2012 at 5:30 AM
|
FrankyTotal Posts: 87
Joined: February 26, 2012
|
Re: Webp image and Opus audio formats supportEncoders for both would be huge, for sure.
Posted on October 20, 2012 at 5:41 AM
|
singmajestyTotal Posts: 2141
Joined: August 25, 2011
|
Re: Webp image and Opus audio formats supportWill this work with Assets.getBytes?
Posted on October 20, 2012 at 7:56 AM
|
soywizTotal Posts: 11
Joined: August 29, 2012
|
Re: Webp image and Opus audio formats supportYeah, it works with Assets.getBytes
Posted on October 20, 2012 at 8:00 AM
|
soywizTotal Posts: 11
Joined: August 29, 2012
|
Re: Webp image and Opus audio formats supportI have created other library to handle Webm movies:
Posted on November 12, 2012 at 11:00 AM
|
