public class PostImageUpdateRequest 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 |
---|
PostImageUpdateRequest(byte[] imageData,
String format,
Integer newWidth,
Integer newHeight,
Integer x,
Integer y,
Integer rectWidth,
Integer rectHeight,
String rotateFlipMethod,
String outPath,
String storage)
Initializes a new instance of the PostImageUpdateRequest class.
|
public byte[] imageData
public String format
public Integer newWidth
public Integer newHeight
public Integer x
public Integer y
public Integer rectWidth
public Integer rectHeight
public String rotateFlipMethod
public String outPath
public String storage
public PostImageUpdateRequest(byte[] imageData, String format, Integer newWidth, Integer newHeight, Integer x, Integer y, Integer rectWidth, Integer rectHeight, String rotateFlipMethod, String outPath, String storage)
imageData
- Input imageformat
- Resulting image format. Currently, BMP, PSD, JPG, TIFF, GIF, PNG, J2K and WEBP are supported.newWidth
- 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.outPath
- Path to updated file (if this is empty, response contains streamed image).storage
- Your Aspose Cloud Storage name.Copyright © 2018 Aspose Pty Ltd. All rights reserved.