# Image compression

You can change the compression (output format and quality) of your image by using compression filters. You can use the compression filters alongside [image-operations](https://docs.cloudimage.io/transformations/image-operations "mention") and [image-filters](https://docs.cloudimage.io/transformations/image-filters "mention").

{% hint style="info" %}
By default, Cloudimage delivers the images as WebP. If the format is not supported by the client browser, it falls back to JPEG or PNG. If you wish to keep the original format, you can use **force\_format=original**.
{% endhint %}

You can of course force a specific output format(s). More details can be found in the image formats section.

Most of the on-the-fly image transformations can be configured using the [Asset Variation Builder](https://docs.cloudimage.io/transformations/asset-variation-builder), an in-line URL  builder to preview each image transformation instantly.

| ![](https://content.gitbook.com/content/IDIcmPiz7q6Sr6ZHHQxV/blobs/86HHCPHk6YGtGvwBVQXZ/image.png) | <p><a data-mention href="image-formats#webp-format">#webp-format</a><br>A modern format suitable for most images. Supports trasnparency and offers both lossy and lossless compression.</p>                            |
| -------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ![](https://content.gitbook.com/content/IDIcmPiz7q6Sr6ZHHQxV/blobs/ROzQCyafy72KyK2FwVWR/image.png) | <p><a data-mention href="image-formats#jpeg-compression">#jpeg-compression</a><br>The most popular and widely-supported format. Used by digital cameras. Suitable for photographic images. Lossy compression only.</p> |
| ![](https://content.gitbook.com/content/IDIcmPiz7q6Sr6ZHHQxV/blobs/ousenuVE2wOiodNzM9VM/image.png) | <p><a data-mention href="image-formats#od_0a3cb543-1">#od\_0a3cb543-1</a><br>Image format with transperency support suitable for raster logos, charts, infographs, etc. Lossless compresison only.</p>                 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudimage.io/transformations/image-compression.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
