mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 05:38:22 +01:00
Update webp container spec with alpha filter options.
Change-Id: I032f350c8c698aeb139f7dd148f01a0a3b012b6d
This commit is contained in:
parent
2e74ec8b5f
commit
dba37fea0e
@ -521,13 +521,24 @@ the bit-stream for the Alpha-chunk is still experimental and expected to change.
|
||||
|
||||
The contents of such a chunk are as follows:
|
||||
|
||||
* Byte 0: The _compression method_ used. Currently two methods are
|
||||
supported:
|
||||
* Byte 0 lower nibble: The _compression method_ used. Currently two methods
|
||||
are supported:
|
||||
|
||||
* 0 --> No compression
|
||||
|
||||
* 1 --> Backward reference counts encoded with arithmetic encoder.
|
||||
|
||||
* Byte 0 upper nibble: The _filtering method_ used. Currently the following
|
||||
methods are supported:
|
||||
|
||||
* 0 --> No filter
|
||||
|
||||
* 1 --> Horizontal filter
|
||||
|
||||
* 2 --> Vertical filter
|
||||
|
||||
* 3 --> Gradient filter
|
||||
|
||||
* Byte 1: _Reserved_. **Should** be 0.
|
||||
|
||||
* Byte 2 onwards: _Encoded alpha bitstream_.
|
||||
|
Loading…
Reference in New Issue
Block a user