Vincent Povirk madewokherd@gmail.com writes:
you won't get a negative height with GetObject,
Hmm, is GdipCreateBitmapFromHBITMAP doing it right, then? It assumes all DIB objects have positive stride.
No, that's wrong. It should most likely just do a GetDIBits (in one go, not line by line like it currently does).
you won't get DIB info at all for DDBs.
I don't think it makes sense to do this for DDBs, as I can't draw them directly and don't expect them to have alpha information.
Sure, but it shouldn't crash and burn.