Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upadd option for better render resolution ( code included) #26
Comments
|
Sounds like a good idea. It would also be nice to do HiDPI (Retina-resolution) screenshots (i.e. with a |
|
Hi, I checked the code you checked and noticed that you also changed the viewport. I only did use casper.start(url).viewport(opts.vwidth, opts.vheight).zoom(2) without changeing the viewport. Wy is the change in viewport needed. Does that not lead to changed fontsizes etc? |



Hi,
To get a better resolution in renderd images I usually change in the webshot.js file (
system.file("webshot.js", package="webshot"))the follwoing line
casper.start(url).viewport(opts.vwidth, opts.vheight);to
casper.start(url).viewport(opts.vwidth, opts.vheight).zoom(2);Could that be added as a option instead?