Visual C#.NET: Process, Manipulate Document & Images

How to process, manipulate document image using C#.NET
Yiigo.Image for .NET provides advanced annotation support, allowing developers to use many image& document customization features onto documents and images in bitonal, color and grayscale. Find more image processing and document cleanup information on Yiigo.Imaging for .NET Image Processing Support.
Yiigo.Image for .NET Image Processing SDK has those following functionalities:
  • Changes the hue of document & images
  • Deskew, despeckle, rasterize documents containing pictures
  • Resize & scale images
  • Add noise to document & images, such as Polar Effect, Diffuse Glow, Shadow, Star, Border, etc.
  • Image Drawing
  • Draw text, .NET grahics on image
  • Apply Line Removal, HoleRemoval, BorderRemovel to document & images
  • Rotate, flip image or create thumbnail accoding to your needs
  • Control document and image brightness, contrast and saturation
  • Apply anti-aliasing for document & images
This document provides comprehensive Visual C#.NET samples for guiding developers to process, customize documents and images according to your needs using Yiigo.Image for .NET. Find more image processing and document cleanup tutorials on VB.NET Image Processing, Web Imaging Viewer Image Processing Support and Customize Your Images in .NET Winforms.
Image Processing with C#.NET Sample Code


Before using Yiigo.Image for .NET Image Processing SDK in Visual C#.NET, make sure that you have installed.
  • Operating systems - Windows 7, Windows Vista, and Windows XP, etc
  • Compatible with .NET framework 2.0 and above versions
  • Support Visual Studio 2005, 2010 and other .NET development environments
  • Yiigo.Image for .NET installation

Start to Process Images & Document

  • Open and run your Microsoft Visual Studio;
  • Choose either "Visual C# Projects" in "New Project" dialog box;
  • Choose "Windows Application" in the "Templates" List and name it "YiigoImagingProcessingCsharp";
  • Right-click on the "References" folder, and select "Add Reference..." from the context menu in the "Solution Explorer" window;
  • In the "Add Reference" dialog box, select the ".NET" tab and browse to Yiigo.Imaging.Net.dll library;
  • Add it to your Visual C# applications;
  • Call Yiigo .NET Image Namespace & Copy those following codes:
using System.IO;
using System.Drawing.Printing;
using Yiigo.Imaging;
using Yiigo.Imaging.Processing;

// Deskew document & images
public YiigoImageProcess ApplyDeskew(int ImageID);

// Despeckle document & images
public YiigoImageProcess ApplyDespeckle(int ImageID);

// Change document & images Contrast
public YiigoImageProcess ChangeContrast(int ImageID, int Contrast);

// Change document & images Saturation
public YiigoImageProcess ChangeSaturation(int ImageID, int Saturation);

// Change document & images Hue
public YiigoImageProcess ChangeHue(int ImageID, int Hue);

// Detect and delete blank page
public YiigoImageProcess DeleteBlankPage(int ImageID);

// Apply HoleRomoval to document & images
public YiigoImageProcess ApplyHoleRemoval(int ImageID);

// Apply BorderRemoval to document & images
public YiigoImageProcess ApplyBorderRemoval(int ImageID);

// Apply LineRemoval to document & images
public YiigoImageProcess ApplyLineRemoval(int ImageID);

// Change document & images Brightness
public YiigoImageProcess ChangeBrightness(int ImageID, int Brightness);

// Rotate to document & images
public YiigoImageProcess Rotate(int ImageID, RotateAngle Rotation);
Other Plugins
Image Viewer CoreBarcode PluginPDF Read & WriteTesseract OCR PluginForm Processing PluginJBIG2 CodecJPEG2000 CodecISIS ScannerTwain ScannerDICOM ReaderCAD Scanner