如何将网站呈现为 shell 中的图像?

10 linux html png terminal

想说“ http://example.com/index.html -o website.png”

是否有现有的程序可以做到这一点?我可以将 html 转换为 png。有这样的程序吗?

Mel*_*igy 6

TL; 博士; 试试wkhtmltopdf.org

原始答案:(2011 年 - 添加问题标签之前)

检查这个问题的答案。它似乎和你的一样:https : //stackoverflow.com/questions/125951/command-line-program-to-create-website-screenshots-on-linux

如果它在 Windows 上,还请检查:

更新答案:

一些其他基于控制台/终端的工具,可以将 HTML 转换为图像。

它们都是跨操作​​系统、免费且非常受欢迎的。