C#
  Home arrow C# arrow Lossless Image Resizing in 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#

Lossless Image Resizing in C#
By: Barzan "Tony" Antal
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 11
    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
     
     
    ADVERTISEMENT


    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

    - 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