mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-12 22:14:29 +02:00
gif2webp: Insert independent frames at regular intervals.
We use the 'do not blend' option for creating independent frames. We also mark the already independent frames as 'do not blend'. This bounds the maximum number of frames that need to be decoded to decode a given frame, thus leading to a much better decoding performance. Change-Id: I7cef98af2b53751ec36993fd2bd54f7f4c4aad2b
This commit is contained in:
@ -49,6 +49,19 @@ additional encoding possibilities and decide on the quality gain.
|
||||
Lower value can result is faster processing time at the expense of
|
||||
larger file size and lower compression quality.
|
||||
.TP
|
||||
.BI \-kmax " int
|
||||
Relevant only for animated images with large number of frames (>50).
|
||||
Specify the maximum distance between consecutive key frames (independently
|
||||
decodable frames) in the output image. The tool will insert some key frames into
|
||||
the output image as needed so that this criteria is satisfied. A value of 0 will
|
||||
turn off insertion of key frames.
|
||||
Typical values are in the range 5 to 30. Default value is 9.
|
||||
When lower values are used, more frames will be converted to key frames. This
|
||||
may lead to smaller number of frames required to decode a frame on average,
|
||||
thereby improving the decoding performance. But this may lead to slightly bigger
|
||||
file sizes.
|
||||
Higher values may lead to worse decoding performance, but smaller file sizes.
|
||||
.TP
|
||||
.BI \-f " int
|
||||
For lossy encoding only (specified by the \-lossy option). Specify the strength
|
||||
of the deblocking filter, between 0 (no filtering) and 100 (maximum filtering).
|
||||
|
Reference in New Issue
Block a user