Browse by Tags
All Tags »
Graphics (
RSS)
In one of my projects I needed to draw radial indicators for processes measured in percent. Simple images like the one shown on right. I solved the problem by creating images in C# and saving them on server hard disc so if image is once generated then...
In my previous posting about WebImage helper I introduced how to use WebImage for different image manipulations . In this posting I will show you how to build simple online image editor using WebImage helper. Source code You can find source code of this...
First new helper in ASP.NET MVC 3 Beta I blogged about was chart helper . In this posting I will introduce you another cool helper that is called WebImage and that provides you with image manipulation functions. Also this helper is made for web and instead...
ASP.NET Chart control is powerful control you can use to add charting support to your web applications. Although chart controls are mainly used with ASP.NET forms it is not very hard to use them also in ASP.NET MVC applications . In this posting I will...
Cropping images in ASP.NET is easy task to do if you use right tools. In this posting I will introduce how to crop images using Jcrop and System.Drawing namespace classes. What we are building is simple and user-friendly image cropping interface that...
In one of my current projects I needed something that takes image uploaded by user and converts it to avatar image. There is requirement for avatar images: they must be 32x32 pixel squares. Here is my solution. Creating squared thumbnail image from what...
One of my readers asked for example about my image resizing routine. Here you can find example and also some notes about my code design solution. Why I used streams? First, the resizing method is thought for web applications. Second, using streams is...
ASP.NET provides us with System.Drawing namespace where we can find classes we can use to manipulate with images. There are many people out there who mistakenly think that Image.GetThumbnailImage is best choice for image resizing. You can easily create...
In this example we will use simple color recalculation method to grayscale images. For each pixel on image we will calculate "average color" that we write back on image. Average color is sum of current color's red, green and blue channels integer value...
More Posts