News for hackers. Stuff that matters.
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 dr_zoidberg on Monday January 30, 2017 @11:11AM (#13522330)
If it's jsut upsampling you could do that with PIL/Pillow, after saving the output image.
Re:IMGKit: Python library of HTML to IMG wrapper by minimaxir on Monday January 30, 2017 @11:12AM (#13522346)
Not if you want photos of how responsive layouts behave at higher resolutions.
Re:IMGKit: Python library of HTML to IMG wrapper by kevinwang on Monday January 30, 2017 @11:36AM (#13522595)
Which is why the parents specifically are just talking about upsampling the image, though
Re:IMGKit: Python library of HTML to IMG wrapper by llccbb on Tuesday January 31, 2017 @09:35AM (#13530832)
I want it rendered at the higher resolution, not upsampled from a lower-resolution image. Should have made that more clear.
Re:IMGKit: Python library of HTML to IMG wrapper by Jack0614 on Monday January 30, 2017 @11:44AM (#13522676)
You can see manual of wkhtmltoimage:)