Crop's an image.
Namespace:
Moxiecode.ImageManager.Utils
Assembly:
MCImageManager (in MCImageManager.dll) Version: 1.0.0.0
Syntax
C# |
---|
public static void CropImage( string input_file, string output_file, int x, int y, int width, int height, int quality ) |
Visual Basic (Declaration) |
---|
Public Shared Sub CropImage ( _ input_file As String, _ output_file As String, _ x As Integer, _ y As Integer, _ width As Integer, _ height As Integer, _ quality As Integer _ ) |
Visual C++ |
---|
public: static void CropImage( String^ input_file, String^ output_file, int x, int y, int width, int height, int quality ) |
Parameters
- input_file
- Type: System..::.String
Input file path.
- output_file
- Type: System..::.String
Output file path.
- x
- Type: System..::.Int32
Start position x for crop.
- y
- Type: System..::.Int32
Start position y for crop.
- width
- Type: System..::.Int32
Width of crop area.
- height
- Type: System..::.Int32
Height of crop area.
- quality
- Type: System..::.Int32
Image quality in percent.