Skip to content

Commit

Permalink
Add missing abstract implementation for AVIF (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
mstaack authored Jul 15, 2021
1 parent 346be31 commit 3390375
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Encoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@ protected function processWebp(): string
]);
}

/**
* Get the encoded image as AVIF string.
*
* @return void
* @throws \Intervention\Image\Exception\NotSupportedException
*/
protected function processAvif()
{
throw new NotSupportedException('AVIF format is not supported by VIPS driver.');
}

/**
* Get the encoded image as GIF string.
*
Expand Down

0 comments on commit 3390375

Please sign in to comment.