Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
#!/usr/bin/env python3 import imgkit imgkit.from_file(html local_path, ‘out.jpg’)
imgkit 只转换 html 中的第一张图片。有没有办法转换html中的所有图像?
或者有没有其他方法可以将 html 转换为 ping/jpeg?