src/Service/Image.php
public function save($path = null)
    {
        if (is_null($path)) {
            $path = $this->file;
        }
        imagejpeg($this->image, $path);
        return $this;
    }
public function save($path = null)
    {
        if (is_null($path)) {
            $path = $this->file;
        }
        imagejpeg($this->image, $path);
        return $this;
    }
public function save ( $ path = null ) { if ( is_null ( $ path ) ) { $ path = $ this -> file ; } imagejpeg ( $ this -> image , $ path ) ; return $ this ; }
save as jpeg
@param string $path
@return \PlaygroundCore\Service\Image
save as jpeg