How to resize Image and convert to webp via cloudflare image resize?

Hello

When i use direct request to image it convert to webp.
https://api.sessia.io/uploads/files/post/e976907c48423f7a0f0362fb6825ab34.jpeg

When i use request via resize /cdn-cgi/image/ it did’t convert.
https://api.sessia.io/cdn-cgi/image/width=200/https://api.sessia.io/uploads/files/post/e976907c48423f7a0f0362fb6825ab34.jpeg

Can cloudflare resize and convert to webp?
It will be realy cool when i resize png.
Please help.
Thanks.

Here is the documentation.

I would add the format=auto option.

Thanks a lot.
How to convert png to jpeg?

format=auto - look to header
format=jpeg - do not convert png to jpeg
format=webp - convert png to webp