Barryvdh\Snappy\ImageWrapper::inline PHP Method

inline() public method

Return a response with the image to show in the browser
public inline ( string $filename = 'image.jpg' ) : Illuminate\Http\Response
$filename string
return Illuminate\Http\Response
    public function inline($filename = 'image.jpg')
    {
        return new Response($this->output(), 200, array('Content-Type' => 'image/jpeg', 'Content-Disposition' => 'inline; filename="' . $filename . '"'));
    }