Browsershot::url('https://example.com') ->windowSize(640, 480) ->save($pathToImage);You can also set the size of the output image independently of the size of window. Here's how to resize a screenshot take with a resolution of 1920x1080 and scale that down to something that fits ...
Browsershot::url('https://example.com') ->windowSize(640, 480) ->save($pathToImage);You can also set the size of the output image independently of the size of window. Here's how to resize a screenshot take with a resolution of 1920x1080 and scale that down to something that fits ...
You can also print postcard or envelope addresses. Word is a part of "Office", a suite of products combining several types of software for creating documents, spreadsheets and presentations, and for managing e-mail. Word is usually referred to as "Word" in the software screens or help. It...
You can also print postcard or envelope addresses. Word is a part of "Office", a suite of products combining several types of software for creating documents, spreadsheets and presentations, and for managing e-mail. Word is usually referred to as "Word" in the software screens or help. It...
You can also set the size of the output image independently of the size of window. Here's how to resize a screenshot take with a resolution of 1920x1080 and scale that down to something that fits inside 200x200. Browsershot::url('https://example.com') ...
Convert html to an image, pdf or string. Contribute to zkeen/browsershot development by creating an account on GitHub.
with ease. You can also print postcard or envelope addresses. Word is a part of "Office", a suite of products combining several types of software for creating documents, spreadsheets and presentations, and for managing e-mail. Word is usually referred to as "Word" in the software screens ...
Browsershot::url('https://example.com') ->clip($x,$y,$width,$height) ->save($pathToImage); Manipulating the image You can use all the methodsspatie/imageprovides. Here's an example where we create a greyscale image: Browsershot::url('https://example.com') ->windowSize(640,480) -...
Browsershot::url('https://example.com') ->windowSize(1920,1080) ->fit(Manipulations::FIT_CONTAIN,200,200) ->save($pathToImage); You can screenshot only a portion of the page by usingclip. Browsershot::url('https://example.com') ->clip($x,$y,$width,$height) ->save($pathToImage...
Sizing the imageBy default the screenshot's size will match the resolution you use for your desktop. Want another size of screenshot? No problem!Browsershot::url('https://example.com') ->windowSize(640, 480) ->save($pathToImage);