Kirby 3.9.3 is here!

It’s time for the stable release for 3.9.3:

2 Likes

It got mentioned in the release notes that with the upgraded SimpleImage lib we do now have AVIF image format support. But what kind of got lost is that while we still can change the format of the image on the fly - like converting a JPG to AVIF, PNG to JPG, we can now also set various format specific parameters.

convert cover from JPG to AVIF

<img src="<?=
  $cover->thumb([
    'width' => 1024,
    'height' => 1024,
    'quality' => 80,

    // convert to AVIF
    'format' => 'avif', 

    // AVIF (default -1 which is 6)
    // range of slow and small file 0 to 10 fast but big file
    'speed' => 3,
  ])->url()
?>" alt="<?= $cover->alt()->esc() ?>">
2 Likes