Skip to content

Commit

Permalink
Merge pull request #53 from craftcms/bugfix/support-webp
Browse files Browse the repository at this point in the history
Support webp
  • Loading branch information
timkelty authored Oct 2, 2024
2 parents 6d45f52 + 2b19065 commit 7d70774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ImageTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
class ImageTransformer extends Component implements ImageTransformerInterface
{
public const SUPPORTED_IMAGE_FORMATS = ['jpg', 'jpeg', 'gif', 'png', 'avif'];
public const SUPPORTED_IMAGE_FORMATS = ['jpg', 'jpeg', 'gif', 'png', 'avif', 'webp'];
private const SIGNING_PARAM = 's';
private Asset $asset;

Expand Down

0 comments on commit 7d70774

Please sign in to comment.