### Features

#### New asset filter and functions for images

Convert an image to the [WebP](https://developers.google.com/speed/webp) format:

```twig
{{ asset|webp }}
```

[Documentation →](/documentation/templates/#webp)

Build `srcset` attribute from an asset and retrieve available `sizes` for a given class name:

```twig
{{ image_srcset(asset) }}
{{ image_sizes('class') }}
```

[Documentation →](/documentation/templates/#image-srcset)

_Example:_


```twig
{% set photo = asset('photo.jpg') %}
<picture>
  <source type="image/webp" srcset="{{ image_srcset(photo|webp) }}" sizes="{{ image_sizes('photo') }}">
  <img src="{{ url(photo) }}" width="{{ photo.width }}" height="{{ photo.height }}" alt="" class="photo" srcset="{{ image_srcset(photo) }}" sizes="{{ image_sizes('photo') }}">
</picture>
```

### Fix

- Disable `dataurl` filter for SVG
