Re: Writing a bitmap to file
- From: paul@xxxxxxxxxxx
- Date: 5 Jul 2006 08:23:02 -0700
Grzegorz Wróbel wrote:
paul@xxxxxxxxxxx wrote:
I'm loading in a colour 24bpp bitmap, and the bmih.biHeight value is
positive. The data I'm reading in is row reversed, bottom row first.
The second bitmap I'm loading is an 8bpp bitmap, with biHeight
negative... is the actual bitmap data row reversed too?
Hah, I wonder what you'll say when you encounter BI_RLE compressed bitmap one day. :)
No fear. I'm having enough difficulty here!
Just another quick query:
When I look at the 8bpp bitmap, I find that:
if the bit = 0 it displays at black
if the bit is a small value (eg.5), it is very dark grey
if the bit is a value between, say 30 and 70, it comes across as
various shades of grey. Smaller values are a lighter grey.
It looks like any values above 100 are an extremely dark grey (so close
to black as to be undiscernible by the naked eye)
Does this sound right?
.
- Follow-Ups:
- Re: Writing a bitmap to file
- From: Grzegorz Wróbel
- Re: Writing a bitmap to file
- References:
- Re: Writing a bitmap to file
- From: paul
- Re: Writing a bitmap to file
- From: Grzegorz Wróbel
- Re: Writing a bitmap to file
- From: paul
- Re: Writing a bitmap to file
- From: Grzegorz Wróbel
- Re: Writing a bitmap to file
- Prev by Date: Re: Writing a bitmap to file
- Next by Date: Re: Hooks
- Previous by thread: Re: Writing a bitmap to file
- Next by thread: Re: Writing a bitmap to file
- Index(es):
Relevant Pages
|