I don't want to use GDI+'s DrawImage because of speed issues. What other ways are there to draw an image resized with decent quality - at least linear or cubic interpolation?
Asked
Active
Viewed 2,966 times
1 Answers
7
You can use SetStretchBltMode
with the HALFTONE
setting, but you'll probably run into the same speed issues that you faced with GDI+ -- smoothing always comes at a cost.

casablanca
- 69,683
- 7
- 133
- 150
-
I tried that and it didn't seem to change anything. Which HDC do I give it? – jnm2 Jan 01 '11 at 01:31
-
1@jnm2: Use `SetStretchBltMode` with the destination HDC that you use for `StretchBlt`. – casablanca Jan 01 '11 at 01:36
-
Thanks! It's not perfect, but it's much better. – jnm2 Jan 01 '11 at 03:56