Skip to content

Commit

Permalink
Merge pull request #397 from nlemoine/3.x-fix-quality
Browse files Browse the repository at this point in the history
3.x-fix-quality
  • Loading branch information
ADmad authored May 26, 2024
2 parents 7cff858 + ee749ad commit 975d897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Manipulators/Encode.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function run(ImageInterface $image): ImageInterface
}

$image = (new ImageManager($driver))->read(
$image->encodeByExtension($format, $quality)->toString()
$image->encodeByExtension($format, quality: $quality)->toString()
);

if ($interlace) {
Expand Down

0 comments on commit 975d897

Please sign in to comment.