Alex Henrie alexhenrie24@gmail.com wrote:
for (bit_off = 0; bit_off < 8; bit_off++, mask >>= 1, src += 4)
{
if (src[3] != 0xff && x + bit_off < bmi_width)
*dst_byte |= mask;
}
Does this mean that only fully transparent pixels are added to the mask?
Yes, that's correct.
If so, why not include any pixel that is more than 50% transparent?
I have a test program that confirms this behaviour.