Improve imgkit export options

This commit is contained in:
Alexandre Aubin 2021-09-10 23:13:29 +02:00
parent 589a85bdb4
commit a43463522d

View file

@ -268,7 +268,7 @@ def export_as_image(text, output):
</body> </body>
</html>""" </html>"""
imgkit.from_string(text, output) imgkit.from_string(text, output, options={"crop-w": 600, "quiet": ""})
test_context = sys.argv[1] test_context = sys.argv[1]