{"action":"created","issue":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/10964","labels_url":"https://api.github.com/repos/ariya/phantomjs/issues/10964/labels{/name}","comments_url":"https://api.github.com/repos/ariya/phantomjs/issues/10964/comments","events_url":"https://api.github.com/repos/ariya/phantomjs/issues/10964/events","html_url":"https://github.com/ariya/phantomjs/issues/10964","id":12086970,"number":10964,"title":"set window.devicePixelRatio for 'retina' screenshots","user":{"login":"cjroebuck","id":12208,"avatar_url":"https://avatars.githubusercontent.com/u/12208?v=3","gravatar_id":"","url":"https://api.github.com/users/cjroebuck","html_url":"https://github.com/cjroebuck","followers_url":"https://api.github.com/users/cjroebuck/followers","following_url":"https://api.github.com/users/cjroebuck/following{/other_user}","gists_url":"https://api.github.com/users/cjroebuck/gists{/gist_id}","starred_url":"https://api.github.com/users/cjroebuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjroebuck/subscriptions","organizations_url":"https://api.github.com/users/cjroebuck/orgs","repos_url":"https://api.github.com/users/cjroebuck/repos","events_url":"https://api.github.com/users/cjroebuck/events{/privacy}","received_events_url":"https://api.github.com/users/cjroebuck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ariya/phantomjs/labels/old.Priority-Medium","name":"old.Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/ariya/phantomjs/labels/old.Status-New","name":"old.Status-New","color":"ededed"},{"url":"https://api.github.com/repos/ariya/phantomjs/labels/old.Type-Defect","name":"old.Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":50,"created_at":"2013-01-06T02:23:36Z","updated_at":"2015-11-27T20:24:47Z","closed_at":null,"body":"_**[toph...@gmail.com](http://code.google.com/u/106253888473198258953/) commented:**_\r\n> Is is possible to set or emulate window.devicePixelRatio=2 for rendering retina screenshots. I want to emulate a retina iphone and take a screenshot, I've tried scaling the page by 2, and doubling the viewport but this isnt the same.\r\n\r\n**Disclaimer:**\r\nThis issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, [Issue #964](http://code.google.com/p/phantomjs/issues/detail?id=964).\r\n:star2: &nbsp; **3** people had starred this issue at the time of migration."},"comment":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/comments/160200227","html_url":"https://github.com/ariya/phantomjs/issues/10964#issuecomment-160200227","issue_url":"https://api.github.com/repos/ariya/phantomjs/issues/10964","id":160200227,"user":{"login":"Paxa","id":26019,"avatar_url":"https://avatars.githubusercontent.com/u/26019?v=3","gravatar_id":"","url":"https://api.github.com/users/Paxa","html_url":"https://github.com/Paxa","followers_url":"https://api.github.com/users/Paxa/followers","following_url":"https://api.github.com/users/Paxa/following{/other_user}","gists_url":"https://api.github.com/users/Paxa/gists{/gist_id}","starred_url":"https://api.github.com/users/Paxa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paxa/subscriptions","organizations_url":"https://api.github.com/users/Paxa/orgs","repos_url":"https://api.github.com/users/Paxa/repos","events_url":"https://api.github.com/users/Paxa/events{/privacy}","received_events_url":"https://api.github.com/users/Paxa/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T20:24:47Z","updated_at":"2015-11-27T20:24:47Z","body":"Would be nice to have this feature"}}