C#
  Home arrow C# arrow Lossless Image Resizing in 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 
Download TestComplete 
Windows Web Hosting
 
IBM® developerWorks 
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#

Lossless Image Resizing in C#
By: Barzan "Tony" Antal
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 4
    2008-02-20

    Table of Contents:
  • Lossless Image Resizing in C#
  • Color Quantization
  • Getting Started
  • Let's Resize!
  • Completing the Project
  • Final Words

  • 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
     
     
    Iron Speed
     
    ADVERTISEMENT

    Free Web 2.0 Code Generator! Generate data entry 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!

    Lossless Image Resizing in C#
    (Page 1 of 6 )

    This is the second segment of the two-part article series focusing on the creation of a lightweight image manipulation application that is able to perform lossless image conversion and resizing. The programming language is C# and we rely on .NET’s GDI+ and graphics because our project is designed in Visual Studio.

    In case you missed the first part, I strongly suggest that you stop for a moment and take your time to read it (also here on ASP Free), comprehend it, and develop and create the required first application that does the image conversion, because in this part we are going to work on that ready-to-run application by extending it.

    As I mentioned in the first segment, throughout this tutorial I will assume that the reader has syntax familiarity and at least intermediate programming experience with the C# language and hopefully .NET. We will maintain our pace the way we advanced in the first part -  a relatively fast speed, but I am going to attach all the code snippets required for subroutines, methods, and so forth.

    I'm sure that following along won't be a hard task, especially if you paid attention to the first part. However, even if you have read it, I suggest that you skim through that article again and launch your copy of Visual Studio to recheck your code. It always helps to refresh our memories. Once you feel prepared, we can begin.

    As I've promised, at the end of this tutorial you will find the entire project archived and accompanied with the fully commented and organized source code of the Lightweight Image Manipulation application that we've developed during this two-part series. Have fun and I truly hope that you will find it useful and straightforward. Enjoy!

    More C# Articles
    More By Barzan "Tony" Antal


       · Thanks for following this series. This is the second and last part of the "Lossless...
     

    C# ARTICLES

    - 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
    - A Look at C# File and FileInfo Classes
    - A Look at C# Directory and DirectoryInfo Cla...

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




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