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:
@@ -12,7 +12,7 @@ class AvifEncoder extends AbstractEncoder implements EncoderInterface
|
|||||||
{
|
{
|
||||||
public function encode(ImageInterface $image): EncodedImage
|
public function encode(ImageInterface $image): EncodedImage
|
||||||
{
|
{
|
||||||
$format = 'avif';
|
$format = 'AVIF';
|
||||||
$compression = Imagick::COMPRESSION_ZIP;
|
$compression = Imagick::COMPRESSION_ZIP;
|
||||||
|
|
||||||
$imagick = $image->getFrame()->getCore();
|
$imagick = $image->getFrame()->getCore();
|
||||||
|
Reference in New Issue
Block a user