Skip to content

Commit

Permalink
add optimize to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Nov 29, 2023
1 parent a83de54 commit d239296
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Drivers/ImageDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use Spatie\Image\Enums\FlipDirection;
use Spatie\Image\Enums\Orientation;
use Spatie\Image\Size;
use Spatie\ImageOptimizer\OptimizerChain;

interface ImageDriver
{
Expand Down Expand Up @@ -99,4 +100,6 @@ public function border(int $width, BorderType $type, string $color = '000000'):
public function quality(int $quality): self;

public function format(string $format): self;

public function optimize(OptimizerChain $optimizerChain): self;
}
Binary file modified tests/TestSupport/testFiles/transparent-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d239296

Please sign in to comment.