ImageUtils.CropImage Method

Moxiecode ImageManager

MCManager classes

ImageUtils.CropImage Method 

Crop's an image.

public static void CropImage(
   string input_file,
   string output_file,
   int x,
   int y,
   int width,
   int height,
   int quality
);

Parameters

input_file
Input file path.
output_file
Output file path.
x
Start position x for crop.
y
Start position y for crop.
width
Width of crop area.
height
Height of crop area.
quality
Image quality in percent.

See Also

ImageUtils Class | Moxiecode.ImageManager.Utils Namespace