ZennoLab Assemblies Documentation
ImageProcessingMirrorFromFile Method (ZennoPoster)
Example 

Type: System.String

The file path of the image for processing.

Type: System.String

The save file path.

Type: System.String

The type of the mirror reflection. It can be "Horizontal", "Vertical", "HorizontalVertical". This parameter is not case-sensitive.

Performs the mirror reflection of image from file.
Syntax
public static void ImageProcessingMirrorFromFile( 
   string filePath,
   string savePath,
   string mirror
)

Parameters

filePath

Type: System.String

The file path of the image for processing.

savePath

Type: System.String

The save file path.

mirror

Type: System.String

The type of the mirror reflection. It can be "Horizontal", "Vertical", "HorizontalVertical". This parameter is not case-sensitive.

Example
The following example shows call the ImageProcessingMirrorFromFile method.
// performs the horizontal mirror reflection of oldImage.jpg and saves it to newImage.jpg
ZennoPoster.ImageProcessingMirrorFromFile("C:\\oldImage.jpg", "C:\\newImage.jpg", "Horizontal");
// performs the vertical mirror reflection of oldImage.jpg and saves it to newImage.jpg
ZennoPoster.ImageProcessingMirrorFromFile("C:\\oldImage.jpg", "C:\\newImage.jpg", "Vertical");
// performs the horizontal and vertical mirror reflection of oldImage.jpg and saves it to newImage.jpg
ZennoPoster.ImageProcessingMirrorFromFile("C:\\oldImage.jpg", "C:\\newImage.jpg", "HorizontalVertical");
// performs the horizontal mirror reflection of oldImage.jpg and saves it to newImage.jpg
ZennoLab\CommandCenter\ZennoPoster::ImageProcessingMirrorFromFile("C:\\oldImage.jpg", "C:\\newImage.jpg", "Horizontal");
// performs the vertical mirror reflection of oldImage.jpg and saves it to newImage.jpg
ZennoLab\CommandCenter\ZennoPoster::ImageProcessingMirrorFromFile("C:\\oldImage.jpg", "C:\\newImage.jpg", "Vertical");
// performs the horizontal and vertical mirror reflection of oldImage.jpg and saves it to newImage.jpg
ZennoLab\CommandCenter\ZennoPoster::ImageProcessingMirrorFromFile("C:\\oldImage.jpg", "C:\\newImage.jpg", "HorizontalVertical");
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

ZennoPoster Class
ZennoPoster Members
ImageProcessingCropFromFile Method
ImageProcessingCropFromScreenshot Method
ImageProcessingCropFromUrl Method
ImageProcessingMirrorFromScreenshot Method
ImageProcessingMirrorFromUrl Method
ImageProcessingResizeFromFile Method
ImageProcessingResizeFromScreenshot Method
ImageProcessingResizeFromUrl Method
ImageProcessingRotateFromFile Method
ImageProcessingRotateFromScreenshot Method
ImageProcessingRotateFromUrl Method
ImageProcessingUntreatedFromFile Method
ImageProcessingUntreatedFromScreenshot Method
ImageProcessingUntreatedFromUrl Method
ImageProcessingWaterMarkImageFromFile Method
ImageProcessingWaterMarkImageFromScreenshot Method
ImageProcessingWaterMarkImageFromUrl Method
ImageProcessingWaterMarkTextFromFile Method
ImageProcessingWaterMarkTextFromScreenshot Method
ImageProcessingWaterMarkTextFromUrl Method

Send Feedback