Given:
HTML code table.
Task:
Get this table as a picture.
Task details:
This table (parsing HTML code from the site) should be displayed as a telegram message. Telegram does not support most HTML tags, including tables. I decided to solve the problem like this: get the table code, convert it into a picture, send a picture of the table.
What he did:
I read en-SO and decided to follow the path HTML-PDF-IMAGE
I found php-lib receiving HTML code of the table at the input and issuing a *.pdf document with it. Even styles can be used (sic!).
The last step is to convert pdf into a picture.
Problem:
On request type
pdf to image php
only tips are given to use some ImageMagick and GhostScript . But, as I understand it, they will not suit me, because I do not have a dedicated server, but simply hosting with php , and these modules should be directly installed in the system.
Question:
So is there any way to get the image from pdf by the non-prog ragging php program or is it not the way I go?
PS
Perhaps it is worth trying another lib at all? ..