[libav-devel] [PATCH 03/18] bmp: fix some 1bit samples, they are palletized.

Kostya Shishkov kostya.shishkov at gmail.com
Thu Nov 24 14:20:24 CET 2011


On Thu, Nov 24, 2011 at 01:13:58PM +0000, Måns Rullgård wrote:
> Luca Barbato <lu_zero at gentoo.org> writes:
> 
> > On 24/11/11 11:26, Anton Khirnov wrote:
> >> From: Carl Eugen Hoyos<cehoyos at ag.or.at>
> >
> > palletized ?
> 
> This is probably part of the age-old debate where certain people who
> shall not be named insist that any pixel format with <= 8 bits per pixel
> is a palette format, even if it is not.  IIRC it goes back to some
> bizarre hacks in mplayer.

In this case it's M$ people (MPlayer probably just followed). All known BMP
format specs claim that _all_ BMPs with bitdepth 1-8 should have a palette.
And indeed they have, like
http://samples.libav.org/samples/image-samples/bmp-files/test1.bmp


More information about the libav-devel mailing list