On Fri, May 01, 2009 at 01:25:33PM +0200, Alexandre Julliard wrote: > "Vincent Povirk" <vinc...@codeweavers.com> writes: > > > + if (dibinfo->biBitCount < 16) > > + numcolors = dibinfo->biClrUsed || 1<<dibinfo->biBitCount; > > You have been doing too much Perl ;-)
Hi Vincent, You may find bitmap_info_size() useful here. Huw.