C#
  Home arrow C# arrow Basic Image Manipulation using GDI+ and C#
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  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
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? 
C#

Basic Image Manipulation using GDI+ and C#
By: A.P.Rajshekhar
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 19
    2006-10-24

    Table of Contents:
  • Basic Image Manipulation using GDI+ and C#
  • Image Manipulation using GDI : the Terminology
  • Image Manipulation Using GDI : Step By Step
  • Image Manipulation in the Real World

  • 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


    Basic Image Manipulation using GDI+ and C#


    (Page 1 of 4 )

    GDI+ offers certain advantages over GDI when trying to manipulate images on Windows. One of the best is the ability to work with C#. This article will show you how to perform basic image manipulation with the GDI+ library in C#.

    Image manipulation is considered one of the more difficult tasks in graphics programming. This is even more true if the operating system under consideration is Windows. The reason is that to achieve efficiency there is no better option than the Windows API.

    The APIs provided by Windows comes under the GDI roof. GDI is short for Graphics Device Interface. However, GDI works with low level graphics. So to use it a good understanding of how Windows work is required. Even with MFC, GDI is a bit complicated.

    But with the evolution of GDI+ the scenario is changing. The major change between GDI and GDI+ is that GDI exposes only APIs for unmanaged code whereas GDI+ provides for both managed as well as unmanaged code. Hence GDI+ is oriented towards .Net based languages. And in the world of .Net, one of the best options is C#.

    So in this discussion, I will be focusing on how to use the basic image manipulations using the GDI+ library in C#. The first section will focus on the terminology used by GDI+ and image manipulation in general. In the second section I will detail the steps involved in image manipulation using GDI+. The last section will be about using the basic image manipulation within a real world application. That's the outline for this discussion.

    More C# Articles
    More By A.P.Rajshekhar


       · GDI+ is a great progress over GDI in terms of API calls. In this article I have...
       · Hi,I've application to capture video of image and grab the still image. It runs...
       · great tutorial
     

    C# ARTICLES

    - Coding a CRC-Generating Algorithm in C
    - Cyclic Redundancy Check
    - Handling Methods and Functions
    - Destroying Objects in C#
    - Creating Objects in C-Sharp
    - Classes and Objects
    - Programming Languages: Managed versus Native
    - LINQ-to-MySQL with DbLinq in C#
    - Working with Dates and Times in C#
    - Generics, Dictionaries, and More
    - More About Generics
    - Working with C# Collections
    - Generics
    - C# and XML
    - Pointers and Arrays in C#





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek