Image processing in C#

Graphics Mill is the C# image processing library of your C# developers’ dreams.

The Graphics Mill C# graphics and image library is the best available C# image processing suite. C# developers will fall in love with the many great features in this SDK.

Class library for image processing

A comprehensive class library that handles image processing functionality with ease is included in Graphics Mill. C# developers will find that they can now utilize many of the image processing capabilities of .NET which are now available in the C# image processing library of Graphics Mill. The list of capabilities found in the C# image processing library is impressive, but is by no means comprehensive:

  • Loading and saving the most popular image types around, including JPEG, TIFF, PNG, etc., is straightforward with the C# image processing library.
  • Images can be edited through resizing, rotation, cropping, affine, and perspective transforms.
  • Working with colors using the C# image processing library is a breeze. Different operations are available to edit contrast, tone correction, hue, saturation, and lightness. Various configurable autofix parameters are also available.
  • Draw lines, rectangles, and other shapes using simple commands.
  • Pixels can be converted between different formats and color spaces quickly.
  • Several images can be combined together with C# image processing library to make a new image. Image transparency is also supported.
  • Draw text, work with different fonts, measure text length, etc.
  • Metadata such as EXIF, PITC, and Adobe XMP can be captured, and used to enhance applications.
  • Take advantage of extended support for advanced formats. For example, multipage TIFF, animated GIFs, and multilayer PSD are all supported by C# image processing library.  When working with these kinds of images, individual page, frame, and layer information, along with their corresponding settings, can be extracted and manipulated. 
  • Access image pixels directly to enable C# image processing library to utilize any custom algorithm.

Visual Windows Forms controls

Desktop applications can now utilize visual Windows Forms controls native to C# image processing library such as:

  • Image viewer control with zoom and rubber band functionality.
  • Thumbnail list view control.
  • Printer control
  • Multi-layer image editor control.

Visual ASP.NET controls for web applications

Graphics Mill’s C# image processing library includes Visual ASP.NET controls for web applications that are pure HTML5. Therefore they don’t require any browser plugins or Flash.  Among the controls that they enable are:

  • Zoomable image viewers that enable browsing an enormous image without the need of loading the whole image from the server. This is a familiar user experience to many users, and is similar to the experience of Google Maps.
  • Multi-layer HTML5 based image editor, which can be used to edit graphics and text for business cards, fliers, or other professional products.

Graphics Mill’s C# image processing library is extremely versatile. The display is very easy to read, and is easy to understand. The code strings themselves are elegant and accessible, even when undertaking very involved operations. For example, here is a code snipped that will load an enormous TIFF file, resize it, add a watermark, and then save the resulting image as a JPEG:

using (var reader = ImageReader.Create(@"Images\in.tif"))
using (var resize = new Resize(2048, 0, 
using (var drawer = new GraphicsDrawer())
using (var writer = ImageWriter.Create(@"Images\out.jpg"))
    drawer.Draw += delegate(object sender, 
                GraphicsDrawEventArgs e)
            var font = new Font("Calibri", e.Height / 20);
                var brush = new SolidBrush(RgbColor.Red);
                e.Graphics.DrawString("Graphics Mill", 
                        brush, 10, 10);
    Pipeline.Run(reader + resize + drawer + writer);

In addition to the above operations, C# image processing library can deconstruct input images into smaller components, process each of these individual components separately, and reconstruct the final image into a JPEG file. This enables the efficient handling of images of virtually unlimited size without risking any problems due to lack of memory. Graphics Mill C# image processing library is a very useful, powerful, and capable SDK that revolutionizes the image processing capabilities of C# developing.

What is Graphics Mill?

Graphics Mill is a robust image processing SDK which enables .NET developers manipulate images of any sizes from their applications.

Get free trial version!

Download 30-day Trial
Download 30-day trial Graphics Mill is the most robust imaging toolset available for .NET, and primarily ASP.NET developers. It allows users to add complicated imaging functionality to .NET apps with ease.