Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 1999 15:25:37 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Kevin Street <street@iname.com>
Cc:        current@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: Splash crash 
Message-ID:  <199901120625.PAA11303@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Tue, 12 Jan 1999 00:24:15 EST." <13978.56447.856338.251015@mired.eh.local> 
References:  <87ogo5wdcn.fsf@mired.eh.local> <199901120117.KAA29737@zodiac.mech.utsunomiya-u.ac.jp> <13978.56447.856338.251015@mired.eh.local> 

next in thread | previous in thread | raw e-mail | index | archive | help

>I sprinkled some printf's around and it appears that my .bmp is
>strange.  I saved it in Windows as a 256 colour format, but splash_bmp 
>seems to think it has 512.
>
>I'm puzzled by the `2' in here (from bmp_Init) though:
>	bmp_info.ncols = 2 << bmf->bmfi.bmiHeader.biBitCount;

Yes, this is indeed a typo!  Thank you for spotting!

>but I don't know what biBitCount really means.  Changing it to a `1'
>in hopes that it was a typo gets rid of the error message, but doesn't 
>get me a splash screen.  My .bmp probably really is wrong.

Hmm,  Would you show me the first few lines from the dump of the file?

	hd _your_bmp_file_ | head -20

Kazu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901120625.PAA11303>