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.

Type: System.Int32

The image quality. The value from 0 to 100. Default value is 100.

Type: System.String

The Exif Tags for metadata of image. Default value is empty string. Each tag must be written from a new line. The format of data is follow: {TagName}|{TagValue}.

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

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.

quality

Type: System.Int32

The image quality. The value from 0 to 100. Default value is 100.

exif

Type: System.String

The Exif Tags for metadata of image. Default value is empty string. Each tag must be written from a new line. The format of data is follow: {TagName}|{TagValue}.

Remarks

If parameter of quality not in the range from 0 to 100 then this value will be changed to 100.

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
ImageProcessingClearExifFromFile Method
ImageProcessingClearExifFromScreenshot Method
ImageProcessingClearExifFromUrl Method
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