Windows Scripting
  Home arrow Windows Scripting arrow Screen Capturing via GDI+ and GDI
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WINDOWS SCRIPTING

Screen Capturing via GDI+ and GDI
By: Xianzhong Zhu
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2008-08-06

    Table of Contents:
  • Screen Capturing via GDI+ and GDI
  • GDI’s Role in Screen Capturing
  • Developing a Screen Capture Application
  • Persisting the Captured Images via GDI
  • Adding a Reference to GDI and Visualizing the Result

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    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.

    More Windows Scripting Articles
    More By Xianzhong Zhu


     

    WINDOWS SCRIPTING ARTICLES

    - Introducing Two-Way Data Binding using Silve...
    - Silverlight 2.0 Application Development with...
    - Burning Multisession CDs with IMAPI2 in WSH
    - Creating a Silverlight 2.0 Application that ...
    - Burning CDs with the IMAPI2 Control
    - Burning CDs in Windows XP with WSH
    - Advanced Word Object Scripting
    - Reading and Printing Word Documents in WSH
    - Scripting Microsoft Word
    - Using WSH to Catalog MP3 Files
    - Reading MP3 ID3 Tags in WSH
    - A Brief Look at Menus in WPF
    - More Examples of Simplified Image Processing...
    - Completing a WPF To-Do List Application
    - Simplified Image Processing in GDI+





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
    Stay green...Green IT