ID:138273
 
I thought the mask color was 192, 192, 192?

When I load in a bmp that contains that color, it is not being masked...
On 12/5/00 9:38 pm Deadron wrote:
I thought the mask color was 192, 192, 192?

When I load in a bmp that contains that color, it is not being masked...

I thought it was 152,152,152.
On 12/5/00 9:38 pm Deadron wrote:
I thought the mask color was 192, 192, 192?

Yes, that is correct.

When I load in a bmp that contains that color, it is not being masked...

Odd. It's working in my tests. Is your bmp 8-bit (256 colors)? If it is 24-bit, the mask won't work because the bmp must be dithered to fit into our format; in other words, 24-bit bitmaps don't support palettes.
In response to Tom H.
On 12/6/00 6:24 pm Tom H. wrote:
On 12/5/00 9:38 pm Deadron wrote:
I thought the mask color was 192, 192, 192?

Yes, that is correct.

When I load in a bmp that contains that color, it is not being masked...

Odd. It's working in my tests. Is your bmp 8-bit (256 colors)? If it is 24-bit, the mask won't work because the bmp must be dithered to fit into our format; in other words, 24-bit bitmaps don't support palettes.

Oh that's probably the problem -- the good news being that it's not crashing now when I use 24-bit images...

The large bmp functionality is turning out to be quite helpful by the way. I'm using it all over the place.