[FFmpeg-trac] #9626(undetermined:new): alphamerge and transparency in main
FFmpeg
trac at avcodec.org
Fri Feb 4 18:03:53 EET 2022
#9626: alphamerge and transparency in main
-------------------------------------+-------------------------------------
Reporter: Jozef | Owner: (none)
Chutka |
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by pdr0):
It's working as expected
alphamerge
https://ffmpeg.org/ffmpeg-filters.html#alphamerge
"Add or replace the alpha component of the primary input with the
grayscale value of a second input. "
The RGB greyscale of mask.png is a circle shape. That replaces the "x"
character alpha channel in the original main.png
The RGB channels of "main.png" is green , with some white at the right
edge, so the expected output is a green circle overlaid on #ff0000
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9626#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list