Overview
Sources
Libraries
Images API

Lossless lossless

Generate images using lossless compression.

This parameter only applies to output formats with lossless compression like webp and avif.

Values

  • true or 1: generates a lossless image.
  • false or 0: generates a lossy image.

The default value for this parameter is false.

Examples

Generate a lossless WebP image using the params lossless=true and format=webp:

GET
https://assets.imglab-cdn.net/woman.jpeg?lossless=true&format=webp
Woman holding a camera, image generated as a lossless WebP using lossless parameter and webp as output format.
x px