Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/PHPThumb/GD.php
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,14 @@ public function save($fileName, $format = null)
}
}

//Execute any plugins
if ($this->plugins) {
foreach ($this->plugins as $plugin) {
/* @var $plugin \PHPThumb\PluginInterface */
$plugin->execute($this);
}
}

// When the interlace option equals true or false call imageinterlace else leave it to default
if ($this->options['interlace'] === true) {
imageinterlace($this->oldImage, 1);
Expand Down