Documentation: Lossy Image Optimization

CheetahO lossy image optimization applies a variety of techniques to process images to lower quality level.

Lossy image compression deletes part of the original data bits in order to reduce the file size. Usually this data is negligible, such as waste created during image processing. Typical file weight reductions range from 45%-70%, in many cases going all the way up to 90% mark. CheetahO lossy optimization will give you outstanding results with an imperceptible amount of quality loss. We recommend to use this type of compression.

To use our lossy optimization algorithms simply set the  "compression": "lossy" property in your request JSON:

 

{    
    "compression":"lossless",
    "keep_exif":1,
    "web_p":false,
    "files":["https://example.com/image_path.jpg"],
    "wait":true
}

cURL example:

curl --location --request POST 'https://api.cheetaho.com/api/v2/media/optimization' \
--header 'Accept: application/json' \
--header 'key: api_key' \
--header 'Content-Type: application/json' \
--data-raw '{
    "compression":"lossless",
    "keep_exif":1,
    "web_p":false,
    "files":["https://example.com/image_path.jp"],
    "wait":true
}'