Version 6 (modified by 7 years ago) (diff) | ,
---|
WebP Encoding
This wiki/Encoding has 3 encoders:
- a Cython based encoder using the Advanced Encoding API (only available in version 0.13 onwards) which is faster
- a
python-webm
fallback - fallback to wiki/Encodings/Pillow
And 2 decoders:
- a
python-webm
- fallback to wiki/Encodings/Pillow
Be aware that although webp
offers efficient compression, it can be quite slow at times, especially in "lossless" mode.
Versions
As of xpra version 0.13, we no longer support older version of libwebp
, you must have version 0.3 or later.
Updated python-webm
We carry a modified version of python-webm
, with the following changes:
- support for lossless modes
- memory leak fixed
- removed buggy code in YUV to RGB conversion files - which we don't need since we have our own colourspace conversion modules.
Source
You can find source snapshots here:
http://xpra.org/src/
The source is kept in xpra's source tree under src/xpra/codecs/webm and the tests are under src/tests/webm
Links and Tickets
- WebP upstream: A new image format for the Web
- python-webm upstream
- #491: webp is leaking memory (same bug in Python Pillow: Pillow issue 586)
- 419#comment:4: better/faster lossless encoding selection: webp lossless can be extremely slow!