public class CreateUpdatedImageRequest extends Object
Modifier and Type | Field and Description |
---|---|
String |
format
Resulting image format.
|
byte[] |
imageData
Input image
|
Integer |
newHeight
New height of the scaled image.
|
Integer |
newWidth
New width of the scaled image.
|
String |
outPath
Path to updated file (if this is empty, response contains streamed image).
|
Integer |
rectHeight
Height of cropping rectangle.
|
Integer |
rectWidth
Width of cropping rectangle.
|
String |
rotateFlipMethod
RotateFlip method (Rotate180FlipNone, Rotate180FlipX, Rotate180FlipXY, Rotate180FlipY, Rotate270FlipNone, Rotate270FlipX, Rotate270FlipXY, Rotate270FlipY, Rotate90FlipNone, Rotate90FlipX, Rotate90FlipXY, Rotate90FlipY, RotateNoneFlipNone, RotateNoneFlipX, RotateNoneFlipXY, RotateNoneFlipY).
|
String |
storage
Your Aspose Cloud Storage name.
|
Integer |
x
X position of start point for cropping rectangle.
|
Integer |
y
Y position of start point for cropping rectangle.
|
Constructor and Description |
---|
CreateUpdatedImageRequest(byte[] imageData,
Integer newWidth,
Integer newHeight,
Integer x,
Integer y,
Integer rectWidth,
Integer rectHeight,
String rotateFlipMethod,
String format,
String outPath,
String storage)
Initializes a new instance of the CreateUpdatedImageRequest class.
|
public byte[] imageData
public Integer newWidth
public Integer newHeight
public Integer x
public Integer y
public Integer rectWidth
public Integer rectHeight
public String rotateFlipMethod
public String format
public String outPath
public String storage
public CreateUpdatedImageRequest(byte[] imageData, Integer newWidth, Integer newHeight, Integer x, Integer y, Integer rectWidth, Integer rectHeight, String rotateFlipMethod, String format, String outPath, String storage)
imageData
- Input imagenewWidth
- New width of the scaled image.newHeight
- New height of the scaled image.x
- X position of start point for cropping rectangle.y
- Y position of start point for cropping rectangle.rectWidth
- Width of cropping rectangle.rectHeight
- Height of cropping rectangle.rotateFlipMethod
- RotateFlip method (Rotate180FlipNone, Rotate180FlipX, Rotate180FlipXY, Rotate180FlipY, Rotate270FlipNone, Rotate270FlipX, Rotate270FlipXY, Rotate270FlipY, Rotate90FlipNone, Rotate90FlipX, Rotate90FlipXY, Rotate90FlipY, RotateNoneFlipNone, RotateNoneFlipX, RotateNoneFlipXY, RotateNoneFlipY). Default is RotateNoneFlipNone.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 © 2021 Aspose Pty Ltd. All rights reserved.