Skip to content

Commit

Permalink
Fix quality setting for avif.
Browse files Browse the repository at this point in the history
  • Loading branch information
timvandijck committed Feb 26, 2024
1 parent df1fc57 commit 47e5350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/Gd/GdDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public function save(?string $path = null): static
imagewebp($this->image, $path, $this->quality);
break;
case 'avif':
imageavif($this->image, $path);
imageavif($this->image, $path, $this->quality);
break;
default:
throw UnsupportedImageFormat::make($extension);
Expand Down

0 comments on commit 47e5350

Please sign in to comment.