article

A brief look at code analysis with NDepend

In this article, I'm going to take a quick tour of some of the static code analysis features of NDepend, a Visual Studio extension (and stand alone tool) for gathering metrics, detecting problems, and providing reams of information about your .NET projects.

avatar
Richard Moss
article

Even more algorithms for dithering images using C#

Although I should really be working on adding the dithering algorithms into Gif Animator, I thought it would be useful to expand the repertoire of algorithms available for use with such tools. This article briefly mentions the expanded error diffusion algorithms that are now included, and in slightly more detail covers random dithering as well.

avatar
Richard Moss
article

Dithering an image using the Burkes algorithm in C#

Another article in my C# image dithering mini-series, this time covering the Burkes error diffusion algorithm.

avatar
Richard Moss
article

Dithering an image using the Floyd‑Steinberg algorithm in C#

In my previous introductory post, I briefly described the concept of dithering an image. In this article, I will describe how to dither an image in C# using the Floyd–Steinberg algorithm.

avatar
Richard Moss
article

An introduction to dithering images

When you reduce the number of colours in an image, it's often hard to get a 1:1 match, and so typically you can expect to see banding in an image - areas of unbroken solid colours where once multiple similar colours were present. Such banding can often ruin the look of the image, however by using dithering algorithms you can reduce such banding and greatly improve the appearance of the reduced image. This article briefly discusses dithering as a prelude to further articles with actual dithering implementations.

avatar
Richard Moss