public class CreateImageFrameRequest extends Object
Modifier and Type | Field and Description |
---|---|
Integer |
frameId
Number of a frame.
|
byte[] |
imageData
Input image
|
Integer |
newHeight
New height.
|
Integer |
newWidth
New width.
|
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).
|
Boolean |
saveOtherFrames
If result will include all other frames or just a specified frame.
|
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 |
---|
CreateImageFrameRequest(byte[] imageData,
Integer frameId,
Integer newWidth,
Integer newHeight,
Integer x,
Integer y,
Integer rectWidth,
Integer rectHeight,
String rotateFlipMethod,
Boolean saveOtherFrames,
String outPath,
String storage)
Initializes a new instance of the CreateImageFrameRequest class.
|
public byte[] imageData
public Integer frameId
public Integer newWidth
public Integer newHeight
public Integer x
public Integer y
public Integer rectWidth
public Integer rectHeight
public String rotateFlipMethod
public Boolean saveOtherFrames
public String outPath
public String storage
public CreateImageFrameRequest(byte[] imageData, Integer frameId, Integer newWidth, Integer newHeight, Integer x, Integer y, Integer rectWidth, Integer rectHeight, String rotateFlipMethod, Boolean saveOtherFrames, String outPath, String storage)
imageData
- Input imageframeId
- Number of a frame.newWidth
- New width.newHeight
- New height.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.saveOtherFrames
- If result will include all other frames or just a specified frame.outPath
- Path to updated file (if this is empty, response contains streamed image).storage
- Your Aspose Cloud Storage name.Copyright © 2019 Aspose Pty Ltd. All rights reserved.