C#
  Home arrow C# arrow Basic Image Manipulation using GDI+ and C#
Iron Speed
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 
Dedicated Servers 
Actuate Whitepapers 
VeriSign Whitepapers 
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? 
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 / 15
    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

    Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    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...
     

    C# ARTICLES

    - Exceptions in C#
    - Overriding versus Overloading
    - Value Types and Reference Types
    - Defining Member and Type Visibility
    - Managing Files in C#
    - Working with Windows Registry in C#
    - Lossless Image Resizing in C#
    - Lossless Image Converting in C#
    - Creating an RSS Feed with ASP.Net Written in...
    - Polymorphism in C#
    - Inheritance in C#
    - C# Events Explained
    - C# Delegates Explained
    - C# StreamReader and StreamWriter Explained
    - C# FileStream Explained





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway