generate image (e.g. jpg) of a web page?

后端 未结 5 1316
深忆病人
深忆病人 2021-02-07 07:00

I want to create an image what a web page looks like, e.g. create a small thumbnail of the html + images. it does not have to be perfect (e.g. flash /javascript rendering).

5条回答
  •  抹茶落季
    2021-02-07 07:56

    you can get it nearly perfect, and cross platform too, by using a browser plugin.

    • FireShot or ScreenGrab for Firefox.

    • 6 Google Chrome Screenshot Webpage Capture Extensions

    BrowserShots is an open source project that may have some code you can use.

    also see:

    • Command line program to create website screenshots (on Linux)
    • Convert web page to image
    • How to take screenshot of whole web page, rather than what shows on the screen
    • What is the best way to create a web page thumbnail?
    • Convert HTML to an image

提交回复
热议问题