php - Convert HTML page to an image -


i want change html page image. there way in php change or save html page image?

this not easy; nulluserexception says in comment, need render html page on server-side, not php (or other server-sided language) has built in.

the approach comes mind write program (probably not in php, rather c# or c++) runs on server, fires web browser, , series of screen captures (possibly combined page scrolls). nontrivial , bug-prone process, suggest looking third-party components capable of doing this.

you execute program php, , when it's done running, display results file output.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -