{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/nightmare/issues/596","repository_url":"https://api.github.com/repos/segmentio/nightmare","labels_url":"https://api.github.com/repos/segmentio/nightmare/issues/596/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/nightmare/issues/596/comments","events_url":"https://api.github.com/repos/segmentio/nightmare/issues/596/events","html_url":"https://github.com/segmentio/nightmare/issues/596","id":150869869,"number":596,"title":"Wrong screenshot size/resolution","user":{"login":"apodgorny","id":2205877,"avatar_url":"https://avatars.githubusercontent.com/u/2205877?v=3","gravatar_id":"","url":"https://api.github.com/users/apodgorny","html_url":"https://github.com/apodgorny","followers_url":"https://api.github.com/users/apodgorny/followers","following_url":"https://api.github.com/users/apodgorny/following{/other_user}","gists_url":"https://api.github.com/users/apodgorny/gists{/gist_id}","starred_url":"https://api.github.com/users/apodgorny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apodgorny/subscriptions","organizations_url":"https://api.github.com/users/apodgorny/orgs","repos_url":"https://api.github.com/users/apodgorny/repos","events_url":"https://api.github.com/users/apodgorny/events{/privacy}","received_events_url":"https://api.github.com/users/apodgorny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-25T14:03:50Z","updated_at":"2016-04-25T18:59:54Z","closed_at":null,"body":"Here is my code:\r\n\r\n`Nightmare({ show: false })\r\n\t.viewport(150, 200)\r\n\t.goto('http://www.taoism.net/ttc/complete.htm')\r\n\t.wait()\r\n\t.screenshot('test.png')\r\n\t.end()\r\n\t.run(function(err, nightmare) {\r\n\t\tconsole.log('Done.');\r\n\t});`\r\n\r\nRESULT:\r\nScreenshot dimensions generated: 300x356\r\nResolution doubled\r\n\r\nEXPECTED:\r\nScreenshot dimensions generated: 150x200\r\nResolution normal (100% zoom)\r\n\r\nAttaching generated screenshot.\r\n![test](https://cloud.githubusercontent.com/assets/2205877/14786437/bbf11d44-0ab3-11e6-8af1-295adb046f67.png)\r\n\r\nNOTE: the generated result is not proportionally scaled to expected (separate bug?)"},"comment":{"url":"https://api.github.com/repos/segmentio/nightmare/issues/comments/214480164","html_url":"https://github.com/segmentio/nightmare/issues/596#issuecomment-214480164","issue_url":"https://api.github.com/repos/segmentio/nightmare/issues/596","id":214480164,"user":{"login":"apodgorny","id":2205877,"avatar_url":"https://avatars.githubusercontent.com/u/2205877?v=3","gravatar_id":"","url":"https://api.github.com/users/apodgorny","html_url":"https://github.com/apodgorny","followers_url":"https://api.github.com/users/apodgorny/followers","following_url":"https://api.github.com/users/apodgorny/following{/other_user}","gists_url":"https://api.github.com/users/apodgorny/gists{/gist_id}","starred_url":"https://api.github.com/users/apodgorny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apodgorny/subscriptions","organizations_url":"https://api.github.com/users/apodgorny/orgs","repos_url":"https://api.github.com/users/apodgorny/repos","events_url":"https://api.github.com/users/apodgorny/events{/privacy}","received_events_url":"https://api.github.com/users/apodgorny/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T18:59:54Z","updated_at":"2016-04-25T18:59:54Z","body":"Is there any workaround to this? I want to be able to rely on the size I ask of it."}}