P
P
Pavel892021-01-18 20:26:04
Laravel
Pavel89, 2021-01-18 20:26:04

How to make a screenshot function of a certain area of ​​a web page in Laravel?

Hello everyone

On Laravel I am making a protocol designer application.

The task is to export the finished protocol to PDF as a picture.
I did not find an option to save jpg to PDF right away, so I decided to first take a screenshot of the web page of the A4 protocol area, then I will use third-party APIs to convert the image to PDF.

Now my task is how to take a screenshot of a certain area of ​​the web page in Laravel?

I will be grateful for the answer.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question