| ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > ZennoPoster Class : ImageProcessingResizeFromFile Method |
Type: System.String
The file path of the image for processing.
Type: System.String
The save file path.
Type: System.Int32
A new width of the image.
Type: System.Int32
A new height of the image.
Type: System.String
Units of dimension of the parameters. It can be "pixel" or "percent".
Type: System.String
If need to keep the aspect ratio then "true"; otherwise "false".
Type: System.String
If not increase size of the image then "true"; otherwise "false".
Type: System.String
The file path of the image for processing.
Type: System.String
The save file path.
Type: System.Int32
A new width of the image.
Type: System.Int32
A new height of the image.
Type: System.String
Units of dimension of the parameters. It can be "pixel" or "percent".
Type: System.String
If need to keep the aspect ratio then "true"; otherwise "false".
Type: System.String
If not increase size of the image then "true"; otherwise "false".
// resize image from file, the width and height in pixel ZennoPoster.ImageProcessingResizeFromFile("C:\\ImageForResize.jpeg", "C:\\ResultImage.jpeg", 100, 120, "pixel", true, false); // resize image from file, the width and height in percentage ZennoPoster.ImageProcessingResizeFromFile("C:\\ImageForResize.jpeg", "C:\\ResultImage.jpeg", 200, 200, "percent", true, false);
// resize image from file, the width and height in pixel ZennoLab\CommandCenter\ZennoPoster.ImageProcessingResizeFromFile("C:\\ImageForResize.jpeg", "C:\\ResultImage.jpeg", 100, 120, "pixel", true, false); // resize image from file, the width and height in percentage ZennoLab\CommandCenter\ZennoPoster.ImageProcessingResizeFromFile("C:\\ImageForResize.jpeg", "C:\\ResultImage.jpeg", 200, 200, "percent", true, false);
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven
ZennoPoster Class
ZennoPoster Members
ImageProcessingCropFromFile Method
ImageProcessingCropFromScreenshot Method
ImageProcessingCropFromUrl 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