src/Image.php
public function send($filename = null,$inline = false)
    {
        if (!$this->_isCreated && !$this->createImage()) {
            return false;
        }
        $this->_tmpImageFile->send($filename, $this->getMimeType(), $inline);
        return true;
    }
public function send($filename = null,$inline = false)
    {
        if (!$this->_isCreated && !$this->createImage()) {
            return false;
        }
        $this->_tmpImageFile->send($filename, $this->getMimeType(), $inline);
        return true;
    }
Send image to client, either inline or as download (triggers image
creation)

@param string|null $filename the filename to send. If empty, the PDF is
streamed inline. Note, that the file extension must match what you
configured as $type (png, jpg, ...).
@param bool $inline whether to force inline display of the image, even
if filename is present.
@return bool whether image was created successfully