Optimize
The optimize parameter automatically applies optimal quality compression to produce an output image with as much visual fidelity as possible, while minimizing the file size.
NOTE:
- Optimize is currently supported by the following output formats: JPEG, WebP.
- If the quality parameter is also provided, quality overrides optimize because it is more precise.
- Because optimize attempts to produce an output image with as much visual quality as possible while minimizing the file size, the operations applied are subject to change.
enum Optimize {
LOW
MEDIUM
HIGH
}
Values
Optimize.LOW
Output image quality will be similar to the input image quality.
Optimize.MEDIUM
More optimization is allowed. We attempt to preserve the visual quality of the input image.
Optimize.HIGH
Minor visual artifacts may be visible. This produces the smallest file.
Member Of
TransformationInput
input