Hi Harold, "Harold L Hunt II" <[EMAIL PROTECTED]> writes: > I recall seeing somewhere that the GDI DIB documentation is wrong > when it comes to 24 bit DIBs and that instead of the pixels being > packed, they are actually aligned on 32 bit word boundaries, just > like a 32 bit DIB. Am I crazy? Did I just dream seeing this?
A short look into the docs, without actually trying anything out, says that scanlines must be padded to a 32-bit boundary (for all data types actually, not just 24 bits). Does the code do that? The docs also say, that the colormap can be used for optimization, so it must be initialized, even if empty. Just some thoughts, benny