Thats great, however not all hosts are hot on keeping these things up to date. Avif is fairly new and webp is a little older. its possible to have hosting that has IM installed but its not quite new enough to have AVIF support but does have WebP support.
I think you are on a mac. If you go in your applications and run the app called terminal you can do the command @texnixe described and also php -i | grep AVIF
Your hosting control panel (like cPanel maybe) might have a sever side terminal you can use to check things out. you can run those commands there too.
My larger responsive thumbs (in terms of pixels) are considerably larger than my original images (in terms of KB). Which I find hard to understand how that can happen. Surely if the original file is seriously compressed, then smaller thumbs can’t be finding image quality that isn’t there.
And getting ImageMagick to work is well beyond my small brain. I think I’ll have to stick to the default and accept that half of my thumbs are larger and half smaller, than my original images. You win some, you lose some!
I’ll move on now to trying to get Kirby to convert my JPEGs and PNGs to AVIF and WebP. I have a feeling this will take another day of my life, just trying to get that to work, and a lot of help on this forum!
That’s probably exactly the point, that’s why I already suggested a few posts above, to play around with the quality settings of the thumb() method to achieve smaller thumb results.