1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-26 15:24:37 +02:00

Change format of AvifEncoder

This commit is contained in:
Oliver Vogel
2023-10-03 18:00:55 +02:00
parent 70fe7fe98f
commit 7535eb6429

View File

@@ -12,7 +12,7 @@ class AvifEncoder extends AbstractEncoder implements EncoderInterface
{
public function encode(ImageInterface $image): EncodedImage
{
$format = 'avif';
$format = 'AVIF';
$compression = Imagick::COMPRESSION_ZIP;
$imagick = $image->getFrame()->getCore();