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!
Next: Color Quantization >>
More C# Articles
More By Barzan "Tony" Antal