I have a long web page (vertically)
which can be thought of having 40 pages.
each page is divided by a hr element like this:
and has the same height: 860px.
I would like to transform each ‘page’ in that html in a jpg.
In an automated way of course.
Can somebody suggest how ?
This isn’t an easy problem to solve because for one, different browsers may render the page slightly differently. So how important is it that the table looks exactly like it does on the webpage?
It’s more common to convert HTML pages to PDF, for printing purposes or email attachments. There are many libraries to do this (but they’re all a bit meh), I’ve used TCPDF with some success.