public class CreateModifiedJpegRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
compressionType
Compression type: baseline (default), progressive, lossless or jpegls.
|
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 CreateModifiedJpegRequest(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: baseline (default), progressive, lossless or jpegls.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 © 2025 Aspose Pty Ltd. All rights reserved.