Re:IMGKit: Python library of HTML to IMG wrapper
by pmlnr on Monday January 30, 2017 @11:46AM
(#13522691)
As much as I despise the nodejs dependency hell, PhantomJS is a better solution when compared to wkhtml, so a Python-PhantomJS wrapper would be a significantly better product imho.
Re:IMGKit: Python library of HTML to IMG wrapper
by llccbb on Monday January 30, 2017 @10:55AM
(#13522167)
Can this create/upsample an image to a specified resolution/zoom level? Say I want a 2000x5000 pixel image of the way a website looks when the window size is 400x1000.
I looked through the manual but didn't see explicit examples.
Re:IMGKit: Python library of HTML to IMG wrapper
by mschuster91 on Monday January 30, 2017 @10:43AM
(#13522038)
Oh god. wkhtmltopdf sucks on so many levels, Webkit itself being one of them as their fork is totally outdated... sometimes I really think about rewriting it using Chromium Embedded Framework.
Some detail: https://docs.google.com/document/d/1VTcYz4q_x0f1O5IVrvRX4u1D...
Edit: I was mistaken, they both back to Webkit.
I looked through the manual but didn't see explicit examples.
There's still no great solution for Flash if you have to support that. I did a lot of research on this previously.