Screen Capturing via GDI+ and GDI
(Page 1 of 5 )
In this article, the hidden mechanisms of popular screen capture applications are unveiled. I will examine the pros and cons of GDI+ and GDI and develop a typical screen capture application in Visual C++ 2005.
Screen capture applications are widely used for handling pictures and images. As far as image processing in Windows XP and later versions, GDI+ has vastly assisted traditional GDI developers in processing 2-D vector graphics, rendering and transforming images, as well as dealing with typography. Nevertheless, GDI+ has not been able to take the place of GDI. Compared with GDI, GDI+ bears at least the following deficiencies:
Does not support the bitblt opertion as provided under the GDI environment
Does not support the raster related bit operation
When performance and speed are a must, GDI is much better than GDI+ for high performance and quality
Author's Note: To follow along with the sample in this article, you're assumed to have installed the following environments: Windows XP Professional and Visual Studio 2005.
Next: GDI’s Role in Screen Capturing >>
More Windows Scripting Articles
More By Xianzhong Zhu