optimize parameter automatically applies optimal quality compression to produce an output image with as much visual fidelity as possible, while minimizing the file size.
|Output image quality will be similar to the input image quality.|
|More optimization is allowed. We attempt to preserve the visual quality of the input image.|
|Minor visual artifacts may be visible. This produces the smallest file.|
- Optimize is currently supported by the following output formats:
- If the
qualityparameter is also provided,
optimizebecause it is more precise.
optimizeattempts to produce an output image with as much visual quality as possible while minimizing the file size, the operations applied are subject to change.
Click the links to view the transformed image using a demo Fastly IO service.