-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Describe the bug
After using the SharpModifier
, if I encode the image to avif
, it produces artifacts.
The output looks correct with other modifiers, only this one seems to cause issues.
Code Example
use Intervention\Image\Drivers\Vips\Driver as VipsDriver;
use Intervention\Image\ImageManager;
$image = ImageManager::withDriver(VipsDriver::class)
->read('trim.png')
->sharpen(5)
->toAvif();
Expected behavior
Image should match other encoders:
Images
Current output in avif
:
Environment:
- PHP Version: 8.1
- OS: Ubuntu
- Intervention Image Version: 3.11.0
- php-vips Version: develop
- libvips Version: 8.16.0