mirror of
https://github.com/Intervention/image.git
synced 2025-08-22 13:32:56 +02:00
enabled default encoding
This commit is contained in:
@@ -21,7 +21,7 @@ class Image extends File
|
||||
return $command->hasOutput() ? $command->getOutput() : $this;
|
||||
}
|
||||
|
||||
public function encode($format, $quality = 90)
|
||||
public function encode($format = null, $quality = 90)
|
||||
{
|
||||
return $this->driver->encode($this, $format, $quality);
|
||||
}
|
||||
|
Reference in New Issue
Block a user