From f712d684dbcf22120bb251e53040892e715fd61d Mon Sep 17 00:00:00 2001 From: ADmad Date: Sun, 27 Oct 2024 15:40:32 +0530 Subject: [PATCH] Fix typo in mime type. (#1399) --- src/Drivers/Gd/Encoders/AvifEncoder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Drivers/Gd/Encoders/AvifEncoder.php b/src/Drivers/Gd/Encoders/AvifEncoder.php index 6361e7ae4..f7106a7ec 100644 --- a/src/Drivers/Gd/Encoders/AvifEncoder.php +++ b/src/Drivers/Gd/Encoders/AvifEncoder.php @@ -20,6 +20,6 @@ public function encode(ImageInterface $image): EncodedImage { return $this->createEncodedImage(function ($pointer) use ($image) { imageavif($image->core()->native(), $pointer, $this->quality); - }, 'image/aviv'); + }, 'image/avif'); } }