Visual C#.NET - How to Process Doc & Image Online

C# Guide on How to Annotate Document & Image Files Online with Browser
With Yiigo.Image for .NET, developers and users will find it easy to process document images online with web viewer, by displaying and editing images through any web browser. You will be able to process all kinds of images such as Png, Jpeg, Gif, Tiff and so on. Besides, a variety of tools can help you to view, zoom, pan, select or center the image, annotate, resize, crop or even the image documents.
This page is a Visual C#.NET tutorial on how to process document images online with Yiigo image web viewer. Users will get to know how to fast deskew binary images, despeckle them, remove noise, detect and remove border, convert to grayscale or color images to binary, and also how to edit images, with all these done in a web browser. Download the trial .NET image package to start evaluation now!
C# Guide - How to Process Images Online

C# Image Web Processing - Preparation

  • Download.NET imaging library: Download the Yiigo.Image for .NET trial package online first.
  • Install .NET imaging library: Run the unzipped exe file to set up.
  • Activate .NET imaging library: Activate your purchased license serial number or request an evaluation number.

C# Image Web Processing - Build Your Project

  • Build a project: Now start up your MS Visual Studio or Express to create an empty ASP.NET Web Forms in Visual C#.
  • Add reference: Add Yiigo.Image.WebViewer.dll from the unzipped download SDK to your project reference.
  • Load images: Now you can stream the image to your browser by loading it to your web viewer so you can manipulate & process the image files in the next sections.

C# Image Web Processing - Image Zooming

  • This Yiigo Image web viewer also help you to interact with image for zooming in, zooming out, zooming to area.
  • Also supported image processing is image centering, panning, and rubberband selection for the left & right mouse buttons.
  • The image web viewer also allows you to zoom the image automatically based on the image size, or simply fit the control panel to the image size. You only have to set the property of the web image viewer to None, BestFit, FitToWidth, FitToHeight or FitToImage.

C# Image Web Processing - Image Cropping

  • Users can also crop the image with the RubberBand selection, so you can get part of the image that you want.
  • Just use the CropCommand, and then copy the Visual C# sample code below to your .NET image project.
if (!this.WebImageViewer1.Selection.Rectangle.Equals(Rectangle.Empty))
this.WebImageViewer1.ApplyCommand(new CropCommand(
this.WebImageViewer1.Selection.Rectangle));
// After a crop, we remove the selection so it is easier to create a
new one
this.WebImageViewer1.Selection.Reset();

C# Image Web Processing - Image Binarize

  • This function offers you three thresholding methods, i.e. adaptive, global, and simple, so you can accurately convert a color or grayscale image to binary.
  • Binarized image makes your image bi-tonal so you get better results when scanning document images.

C# Image Web Processing - Image Border Removal

  • Some document images have borders on four sides, leaving marks around the image when it is scanned.
  • With this image web viewer, users can automatically remove the borders from bi-tonal images so you can obtain better document reading & scanning results.

C# Image Web Processing - Image Speck Removal

  • Specks on an image file will not only make the file larger, but also stop the document from getting better scanning result.
  • You can opt to use this web viewer to remove the specks/noise on images to reduce the image size, and get better reading result from a color or grayscale image.

C# Image Web Processing - Image Auto Deskew

  • This image web viewer has an advanced mechanism to detect skew in a bi-tonal document image, and efficiently correct it by rotating it.
  • Users can apply this function in your online browser when you have a skewed document image.

C # Image Web Processing - Image Resizing

  • Sometimes users & developers may need to resize the images displayed. This .NET image component provides advanced algorithms to easily resize image at high speed with high-quality image output.

C # Image Web Processing - More Options

  • Besides the above listed web image processing features, Yiigo.Image for .NET also provides a variety of other imaging options. Listed below are just a few examples.
  • Remove/ Crop margins on each side of an image to decrease image size.
  • Remove hole-punch from an image to reduce noise for scanning.
  • Automatically detect blank page in a document image file.
  • Automatically detect inverted texts in a bi-tonal image and invert back for recognition.
  • More features for line & halftone removal to improve image quality.
C# Guide - More Tutorials
Products
Other Plugins
Image Viewer CoreBarcode PluginPDF Read & WriteTesseract OCR PluginForm Processing PluginJBIG2 CodecJPEG2000 CodecISIS ScannerTwain ScannerDICOM ReaderCAD Scanner