Skip to content

Commit

Permalink
Merge branch 'add-vips-driver' of github.com:spatie/image into add-vi…
Browse files Browse the repository at this point in the history
…ps-driver
  • Loading branch information
freekmurze committed Jan 20, 2025
2 parents 4f0bf5a + 082ad8a commit 8c418b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/Vips/VipsDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ public function resize(int $width, int $height, array $constraints): static
$heightRatio = $resized->height / $this->image->height;

$this->image = $this->image->resize($widthRatio, [
'vscale' => $heightRatio
'vscale' => $heightRatio,
]);

return $this;
Expand Down

0 comments on commit 8c418b9

Please sign in to comment.