{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/201","repository_url":"https://api.github.com/repos/Microsoft/pxt-microbit","labels_url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/201/comments","events_url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/201/events","html_url":"https://github.com/Microsoft/pxt-microbit/issues/201","id":171381964,"number":201,"title":"PNG Export","user":{"login":"bluetooth-mdw","id":8341666,"avatar_url":"https://avatars.githubusercontent.com/u/8341666?v=3","gravatar_id":"","url":"https://api.github.com/users/bluetooth-mdw","html_url":"https://github.com/bluetooth-mdw","followers_url":"https://api.github.com/users/bluetooth-mdw/followers","following_url":"https://api.github.com/users/bluetooth-mdw/following{/other_user}","gists_url":"https://api.github.com/users/bluetooth-mdw/gists{/gist_id}","starred_url":"https://api.github.com/users/bluetooth-mdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluetooth-mdw/subscriptions","organizations_url":"https://api.github.com/users/bluetooth-mdw/orgs","repos_url":"https://api.github.com/users/bluetooth-mdw/repos","events_url":"https://api.github.com/users/bluetooth-mdw/events{/privacy}","received_events_url":"https://api.github.com/users/bluetooth-mdw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/pxt-microbit/labels/Blocks","name":"Blocks","color":"c5def5"},{"url":"https://api.github.com/repos/Microsoft/pxt-microbit/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Microsoft/pxt-microbit/labels/PXT","name":"PXT","color":"006b75"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-16T11:06:20Z","updated_at":"2016-09-06T14:03:39Z","closed_at":null,"body":"It would be nice if you could export your project as a PNG file for documentation purposes. Sometimes projects are too tall for one screen and so screen shots have to be knitted together."},"comment":{"url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/comments/244960066","html_url":"https://github.com/Microsoft/pxt-microbit/issues/201#issuecomment-244960066","issue_url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/201","id":244960066,"user":{"login":"thomasdenney","id":20356546,"avatar_url":"https://avatars.githubusercontent.com/u/20356546?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasdenney","html_url":"https://github.com/thomasdenney","followers_url":"https://api.github.com/users/thomasdenney/followers","following_url":"https://api.github.com/users/thomasdenney/following{/other_user}","gists_url":"https://api.github.com/users/thomasdenney/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasdenney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasdenney/subscriptions","organizations_url":"https://api.github.com/users/thomasdenney/orgs","repos_url":"https://api.github.com/users/thomasdenney/repos","events_url":"https://api.github.com/users/thomasdenney/events{/privacy}","received_events_url":"https://api.github.com/users/thomasdenney/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T14:03:39Z","updated_at":"2016-09-06T14:03:39Z","body":"Turns out it wasn't too difficult :P. If you paste the contents of [this gist](https://gist.github.com/thomasdenney/aa76acb36d47120ee338b3bd96459556) into the Chrome Developer console (with a workspace open), it will generate a PNG file from the workspace and open it in a new tab. There is also a variable at the top for changing the scale factor, so you can generate really high resolution images from it; the image below is rendered at 10x:\r\n\r\n![hires](https://cloud.githubusercontent.com/assets/20356546/18276428/c849a176-7442-11e6-8974-396ad7f70f69.png)\r\n\r\nWarning: I have *just* tested this in Chrome on Windows, so I can't comment on how well it works elsewhere. @pelikhan I'm not sure we need this as a feature, but we could consider integrating it."}}
{"actor":{"display_login":"thomasdenney"}}