[FFmpeg-devel] [PATCH] Make decoding alpha optional for some codecs.

Kirill Gavrilov gavr.mail at gmail.com
Thu Sep 19 13:45:01 CEST 2013


On Thu, Sep 19, 2013 at 3:29 PM, Kirill Gavrilov <gavr.mail at gmail.com>wrote:
>
> Although in this case ANY default color (black or white) will be better
> than just discarding alpha channel.
>  <kirill at sview.ru>
>
Just to show how RGBA image exported by Inkscape looks in different
scenarios (in attachement):
- alpha_src - original image.
- alpha_swscale - discarded alpha, image just become a garbage.
- alpha_paint - how image is imported by paint without alpha support (white
default background color).
- alpha_black - alternative with black background color.


<kirill at sview.ru>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alpha_src.png
Type: image/png
Size: 25090 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130919/670e167b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alpha_swscale.png
Type: image/png
Size: 24770 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130919/670e167b/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alpha_paint.png
Type: image/png
Size: 21812 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130919/670e167b/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alpha_black.png
Type: image/png
Size: 17704 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130919/670e167b/attachment-0003.png>


More information about the ffmpeg-devel mailing list