[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#775859: RFP: pageres -- Capture screenshots of websites in various resolutions on the command-line



Hi Jérémy,

Jérémy Lal wrote:
> just to say to node-webkitgtk [0] can take screenshots using system
> libwebkit2gtk4 - way nicer than using phantomjs, packaging-wise.

I have no idea of what is considered nice or not so nice in node.js
packaging. :-)

> It's as simple as
> 
> #!/usr/bin/nodejs
> 
> require('webkitgtk')()
>  .load('http://www.debian.org', {width: 2000, height:1000})
>  .wait('idle')
>  .png('debianorg2000x1000.png');

That sounds indeed simple.

> bundling a simple script taking similar arguments would be a piece of
> cake - with the added bonus to be able to output pdf as well.

Yeah, usable examples (as in /usr/bin/$example and not
/usr/share/doc/$pkg/examples/$example.gz) with such features would be
neat! Please also mention them in the long package description if
they're included in the main package.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE


Reply to: