XImage.Raster
Features
Tech Specs
How-to C#
Pricing

C# Imaging Library
How to C#: Flop or Mirror Image


Guide for How to Flop or Mirror Image



How to flop image using C#?

  1. Download XImage.Raster C# imaging library
  2. Install C# library to flop image in .NET applications
  3. Step by Step Tutorial












Steps to Flop image



  • Load an image with RasterImage object.
  • Create an image processor with ImageProcess object.
  • Call the method FlopImage of ImageProcess object to complete the task flopping image.
  • Save the flopped image to an image file on the disk.


How to Flop Image using C#.NET



By using the XImage.Raster SDK, you can flop the current image horizontally. The flop function will swap the left and right sides of the image.

The following C# source code will show how to flop an image in C# program.

RasterImage img = new RasterImage("C://input//raster-arrow-right.png");
ImageProcess processor = new ImageProcess(img);
processor.FlopImage();
img.Save("C://output//raster-image-flop.png");


Compare the source image and image flopped.

Source image Image flopped