You can change the compression (output format and quality) of your image by using compression filters. You can use the compression filters alongside resizing operations and image filters.
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 always keep the original format, you can use force_format=original. For more details, you can see Deliver images in the original format.
You can of course force a specific output format(s). More details can be found in the image formats section.
For troubleshooting purposes, you can add the ci_info=1 operation to have details about resizing and compression on the image, example: /sample.li/hotel.jpg?force_format=png&ci_info=1.