[FFmpeg-devel] [RFC] Feeding bit masks into encoders (particularly an ICO muxer)

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Aug 3 21:23:50 CEST 2012

Michael Bradshaw <mbradshaw <at> sorensonmedia.com> writes:

> When a BMP image is put in an ICO file, it is required to
> have an associated bitmask that specifies its transparency.

I may misunderstand you but FFmpeg's bmp encoder puts the 
transparency information into the bmp (into the eight 
"unused" bits of RGB32), so I suspect you can use the 
information in the encoded image to produce the bitmask.

Carl Eugen

More information about the ffmpeg-devel mailing list