diff options
author | Soft Works <softworkz@hotmail.com> | 2021-09-26 04:57:25 +0000 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-26 17:34:08 +0200 |
commit | 8983c3d7e4acf9b216599cce218acbea498154c7 (patch) | |
tree | ffff88da2866df1716f7117fdf1d7a6fcbf5d7dd /doc/filters.texi | |
parent | 0e45886e6ea272f453cb949e95c3bfd8380974c5 (diff) | |
download | ffmpeg-8983c3d7e4acf9b216599cce218acbea498154c7.tar.gz |
avfilter/elbg: Extend filter to include alpha values in the quantization procedure
Usage example:
ffmpeg -y -loglevel verbose -i "..\fate-suite\apng\o_sample.png" -filter_complex "elbg=pal8=1:use_alpha=1" -frames:v 1 out.png
Signed-off-by: softworkz <softworkz@hotmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 94161003c3..a10f5e71d1 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -11396,6 +11396,10 @@ will try to use a good random seed on a best effort basis. @item pal8 Set pal8 output pixel format. This option does not work with codebook length greater than 256. Default is disabled. + +@item use_alpha +Include alpha values in the quantization calculation. Allows creating +palettized output images (e.g. PNG8) with multiple alpha smooth blending. @end table @section entropy |