Questions tagged [browsershot]

Browsershot is a 3rd party Laravel package developed by Spatie to capture webpage screenshots using Google's Puppeteer and Chrome

The browsershot package can convert a webpage to an image or pdf. The conversion is done behind the scenes by Puppeteer which controls a headless version of Google Chrome.

https://github.com/spatie/browsershot

47 questions
-1
votes
0 answers

How to display multiple logo in broswershot header?

I'm trying to generate a pdf file with a header and footer. The header has two logo (left and right ) and footer ( one logo ). I used browsershot and base64 for my logo as only base64 works on puppeteer header/footer. My code works fine when I use…
lance2k
  • 357
  • 1
  • 4
  • 14
-2
votes
1 answer

Laravel spatie browsershot problem when generating pdf

Im using Laravel 10 with laravel spatie browsershot to take a screenshot of a specific url in my website and transform it into a pdf file. All is working fine on my locale machine. After pulling on the live server which is a ubuntu server, i test…
1 2 3
4