Skip to content

Commit

Permalink
Avoid transforms propagation to avoid unnecessary image creation
Browse files Browse the repository at this point in the history
  • Loading branch information
giuscris committed Nov 16, 2024
1 parent 32e8498 commit f5ce118
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion formwork/src/Images/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ public function process(?string $mimeType = null, bool $forceCache = false): Ima
$image = new Image($path, $this->options);
$image->data = $this->data;
$image->uriGenerator = $this->uriGenerator;
$image->transforms = $this->transforms;

if (isset($image->handler)) {
$image->handler = $this->handler;
Expand Down

0 comments on commit f5ce118

Please sign in to comment.