public class CreateCroppedImageRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
format
Resulting image format.
|
Integer |
height
Height of cropping rectangle.
|
byte[] |
imageData
Input image
|
String |
outPath
Path to updated file (if this is empty, response contains streamed image).
|
String |
storage
Your Aspose Cloud Storage name.
|
Integer |
width
Width of cropping rectangle.
|
Integer |
x
X position of start point for cropping rectangle.
|
Integer |
y
Y position of start point for cropping rectangle.
|
public byte[] imageData
public Integer x
public Integer y
public Integer width
public Integer height
public String format
public String outPath
public String storage
public CreateCroppedImageRequest(byte[] imageData,
Integer x,
Integer y,
Integer width,
Integer height,
String format,
String outPath,
String storage)
imageData - Input imagex - X position of start point for cropping rectangle.y - Y position of start point for cropping rectangle.width - Width of cropping rectangle.height - Height of cropping rectangle.format - Resulting image format. Please, refer to https://docs.aspose.cloud/display/imagingcloud/Supported+File+Formats#SupportedFileFormats-CommonOperationsFormatSupportMap for possible use-cases.outPath - Path to updated file (if this is empty, response contains streamed image).storage - Your Aspose Cloud Storage name.Copyright © 2025 Aspose Pty Ltd. All rights reserved.