mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-19 07:20:02 +02:00
Introduce a 'fast' alpha mode
.. where only 2 filtering modes are potentially tried, instead of all of them. This is fast than the exhaustive 'best' mode, and not much worse. Options for cwebp are: -alpha_filter none -alpha_filter fast (<- default) -alpha_filter best (<- slow) Change-Id: I8cb90ee11b8f981811e013ea4ad5bf72ba3ea7d4
This commit is contained in:
@ -42,7 +42,7 @@ int WebPConfigInitInternal(WebPConfig* const config,
|
||||
config->autofilter = 0;
|
||||
config->partition_limit = 0;
|
||||
config->alpha_compression = 1;
|
||||
config->alpha_filtering = 0;
|
||||
config->alpha_filtering = 1;
|
||||
config->alpha_quality = 100;
|
||||
|
||||
// TODO(skal): tune.
|
||||
|
Reference in New Issue
Block a user