-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add 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?
The text was updated successfully, but these errors were encountered: