Visual C#.NET: Flip Images

How to flip images using C#.NET
Sometimes, developers just want to flip image horizontally and vertically instead of rotating with a setting angle. Yiigo.Image for .NET offers and easy way to flip images with just a few Visual C# codes. Find more image flipping information on Yiigo.Image for .NET Process Support.
Yiigo.Image for .NET Image Processing SDK has those following functionalities:
This document provides comprehensive Visual C#.NET samples for guiding developers to flip images using Yiigo.Image for .NET. Find more image flipping tutorials on Flip Images in VB.NET, Web Imaging Viewer Image Flipping and Flip Images in .NET Winforms.
Flip Images with C#.NET Sample Code


Before flipping images using Yiigo.Image for .NET 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 Flip Images

  • 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 "YiigoImageFlipCsharp";
  • 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;

// Flip image horizontally
using YiigoImage Image = new YiigoImage();
string ImageID = (@"C:\ yiigo_example.jpg");
bool Flip = true;
FlipType FlipType = FlipType.Horizontal;
Image. YiigoImageProcessFlip(@"C:\ yiigo_example.jpg", true, FlipType.Horizontal);"C:\ yiigo_example.jpg");

// Flip image vertically
using YiigoImage Image = new YiigoImage();
string ImageID = (@"C:\ yiigo_example.jpg");
bool Flip = true;
FlipType FlipType = FlipType.Vertical;
Image. YiigoImageProcessFlip(@"C:\ yiigo_example.jpg", true, FlipType.Vertical);"C:\ yiigo_example.jpg");
Other Plugins
Image Viewer CoreBarcode PluginPDF Read & WriteTesseract OCR PluginForm Processing PluginJBIG2 CodecJPEG2000 CodecISIS ScannerTwain ScannerDICOM ReaderCAD Scanner