This post provides a quick guide to change the image format for an image that is served from ImageKit. You can read a more detailed documentation here.
Parameter – f (from jpg,jpeg,png,webp)
Settings > Image optimization setting > Dynamic image format selection
If dynamic format selection is on (recommended), then ImageKit automatically picks the best image format for all images taking into account all the possible factors.
1. Automatic format selection without specifying format in the URL
Recommended. ImageKit automatically selects the best format for the image depending on the image content, browser support and image size. You can read more about it in the browser-based format selection post and content-based image optimization.
2. Format WebP
3. Format JPG / JPEG
4. Format PNG