public class PostImageJpgRequest extends Object
Modifier and Type | Field and Description |
---|---|
String |
compressionType
Compression type.
|
Boolean |
fromScratch
Specifies where additional parameters we do not support should be taken from.
|
byte[] |
imageData
Input image
|
String |
outPath
Path to updated file (if this is empty, response contains streamed image).
|
Integer |
quality
Quality of an image from 0 to 100.
|
String |
storage
Your Aspose Cloud Storage name.
|
public byte[] imageData
public Integer quality
public String compressionType
public Boolean fromScratch
public String outPath
public String storage
public PostImageJpgRequest(byte[] imageData, Integer quality, String compressionType, Boolean fromScratch, String outPath, String storage)
imageData
- Input imagequality
- Quality of an image from 0 to 100. Default is 75.compressionType
- Compression type.fromScratch
- Specifies where additional parameters we do not support should be taken from. If this is true – they will be taken from default values for standard image, if it is false – they will be saved from current image. Default is false.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.