gdi+ Graphics::DrawImage really slow~~

后端 未结 9 1104
一个人的身影
一个人的身影 2020-12-13 10:48

I am using a GDI+ Graphic to draw a 4000*3000 image to screen, but it is really slow. It takes about 300ms. I wish it just occupy less than 10ms.

Bitmap *bit         


        
9条回答
  •  遥遥无期
    2020-12-13 11:29

    Just a thought; instead of retrieving the width and height of the image before drawing, why not cache these values when you load the image?

提交回复
热议问题