public class OutputSettingsOutputSettings represents the different settings to specify how
 a particular transform or composite will return an Image.
Constructors
OutputSettings(ImagesService.OutputEncoding outputEncoding)
public OutputSettings(ImagesService.OutputEncoding outputEncoding)| Parameter | |
|---|---|
| Name | Description | 
| outputEncoding | ImagesService.OutputEncoding | 
Methods
getOutputEncoding()
public ImagesService.OutputEncoding getOutputEncoding()Gets the output encoding.
| Returns | |
|---|---|
| Type | Description | 
| ImagesService.OutputEncoding | The output encoding. | 
getQuality()
public int getQuality()Gets the quality.
| Returns | |
|---|---|
| Type | Description | 
| int | If the quality has been set, a value between 1 and 100. Otherwise, it returns -1. | 
hasQuality()
public boolean hasQuality()Checks if the quality value has been set.
| Returns | |
|---|---|
| Type | Description | 
| boolean | If the quality has been set, true. Otherwise, false. | 
setOutputEncoding(ImagesService.OutputEncoding outputEncoding)
public void setOutputEncoding(ImagesService.OutputEncoding outputEncoding)Sets the output encoding.
| Parameter | |
|---|---|
| Name | Description | 
| outputEncoding | ImagesService.OutputEncodingThe encoding to set. | 
setQuality(int quality)
public void setQuality(int quality)Sets the quality of the returned image. Value must be between 1 and 100.
| Parameter | |
|---|---|
| Name | Description | 
| quality | intThe quality to set. |