Friday, March 14, 2008

DIB versus DDB for thumbnails

Benchmarks show a DDB is 1.2 times slower on the StretchBlt in CreateThumb, and up to 10 times slower in the history view's OnDraw. Yes there's a penalty for converting to DIB in the serialize function, and yes it uses a bit more memory (32 vs 24 bit) but it's worth it.

No comments: