Skip to content

Commit 2572649

Browse files
committed
Whoops, thanks @ausi
1 parent 0a33308 commit 2572649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Gd/Image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ private function saveOrOutput(Format $format, array $options, $filename = null)
642642
$saveFunction = 'image' . $format->getID();
643643
break;
644644
}
645-
$args = array_merge(array(&$this->resource, $filename), $this->finalizeOptions($options));
645+
$args = array_merge(array(&$this->resource, $filename), $this->finalizeOptions($format, $options));
646646

647647
ErrorHandling::throwingRuntimeException(E_WARNING | E_NOTICE, function () use ($saveFunction, $args) {
648648
if (call_user_func_array($saveFunction, $args) === false) {

0 commit comments

Comments
 (0)