开发者

What would be a higher quality alternative to StretchBlt for drawing an HBITMAP?

开发者 https://www.devze.com 2023-02-02 03:51 出处:网络
I don\'t want to use GDI+\'s DrawImage because of speed i开发者_运维技巧ssues.What other ways are there to draw an image resized with decent quality - at least linear or cubic interpolation?You can us

I don't want to use GDI+'s DrawImage because of speed i开发者_运维技巧ssues. What other ways are there to draw an image resized with decent quality - at least linear or cubic interpolation?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消