Skip to content

Image Compression

Using different inteliver real-time compressions you can deliver the best quality with lowest size considering the client's bandwidth.

Image Formats

Currently we supports WEBP, JPEG and PNG compression formats.

You can specify the format and the compression level.

Here is an image with Real-Time WEBP compression levels of 80, 50 and 20.

Tip

The compression level is between 0 and 100. 100 is the best quality and the lower it is it will reduce the size. A level of 70 to 85 is usually the best trade off between quality and size.

http://res.inteliver.local/media/v1/cloudname/resource.jpeg

Original Image

Original Image Size: 248 KB

http://res.inteliver.local/media/v1/cloudname/i_o_format_webp_80/resource.jpeg

Compression with ratio: 80

Compressed Image Size: 20.2 KB
Compression Ratio: ~12

http://res.inteliver.local/media/v1/cloudname/i_o_format_webp_50/resource.jpeg

Compression with ratio: 50

Compressed Image Size: 12.2 KB
Compression Ratio: ~20

http://res.inteliver.local/media/v1/cloudname/i_o_format_webp_20/resource.jpeg

Compression with ratio: 20

Compressed Image Size: 7.1 KB
Compression Ratio: ~37

you can also refer to API reference section for complete list of args.