{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/KanoComputing/kano-screenshot/pulls/12","id":55222316,"html_url":"https://github.com/KanoComputing/kano-screenshot/pull/12","diff_url":"https://github.com/KanoComputing/kano-screenshot/pull/12.diff","patch_url":"https://github.com/KanoComputing/kano-screenshot/pull/12.patch","issue_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/issues/12","number":12,"state":"open","locked":false,"title":"Automatically flip the image if the screen is rotated","user":{"login":"skarbat","id":499442,"avatar_url":"https://avatars.githubusercontent.com/u/499442?v=3","gravatar_id":"","url":"https://api.github.com/users/skarbat","html_url":"https://github.com/skarbat","followers_url":"https://api.github.com/users/skarbat/followers","following_url":"https://api.github.com/users/skarbat/following{/other_user}","gists_url":"https://api.github.com/users/skarbat/gists{/gist_id}","starred_url":"https://api.github.com/users/skarbat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skarbat/subscriptions","organizations_url":"https://api.github.com/users/skarbat/orgs","repos_url":"https://api.github.com/users/skarbat/repos","events_url":"https://api.github.com/users/skarbat/events{/privacy}","received_events_url":"https://api.github.com/users/skarbat/received_events","type":"User","site_admin":false},"body":" * Ask the firmware if the screen is rotated 180º via vcgencmd tool\r\n * If the screen is rotated 180 degrees, image will be flipped automatically\r\n * Tested on 3 resolutions from 800x480 to 1920x1080, along with cropping, and seems to work fine","created_at":"2016-01-06T15:07:38Z","updated_at":"2016-01-06T15:07:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/pulls/12/commits","review_comments_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/pulls/12/comments","review_comment_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/issues/12/comments","statuses_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/statuses/d2b38581e6b723053ed32f75817d188353e832ba","head":{"label":"KanoComputing:fix-rotation","ref":"fix-rotation","sha":"d2b38581e6b723053ed32f75817d188353e832ba","user":{"login":"KanoComputing","id":3909402,"avatar_url":"https://avatars.githubusercontent.com/u/3909402?v=3","gravatar_id":"","url":"https://api.github.com/users/KanoComputing","html_url":"https://github.com/KanoComputing","followers_url":"https://api.github.com/users/KanoComputing/followers","following_url":"https://api.github.com/users/KanoComputing/following{/other_user}","gists_url":"https://api.github.com/users/KanoComputing/gists{/gist_id}","starred_url":"https://api.github.com/users/KanoComputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KanoComputing/subscriptions","organizations_url":"https://api.github.com/users/KanoComputing/orgs","repos_url":"https://api.github.com/users/KanoComputing/repos","events_url":"https://api.github.com/users/KanoComputing/events{/privacy}","received_events_url":"https://api.github.com/users/KanoComputing/received_events","type":"Organization","site_admin":false},"repo":{"id":19236178,"name":"kano-screenshot","full_name":"KanoComputing/kano-screenshot","owner":{"login":"KanoComputing","id":3909402,"avatar_url":"https://avatars.githubusercontent.com/u/3909402?v=3","gravatar_id":"","url":"https://api.github.com/users/KanoComputing","html_url":"https://github.com/KanoComputing","followers_url":"https://api.github.com/users/KanoComputing/followers","following_url":"https://api.github.com/users/KanoComputing/following{/other_user}","gists_url":"https://api.github.com/users/KanoComputing/gists{/gist_id}","starred_url":"https://api.github.com/users/KanoComputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KanoComputing/subscriptions","organizations_url":"https://api.github.com/users/KanoComputing/orgs","repos_url":"https://api.github.com/users/KanoComputing/repos","events_url":"https://api.github.com/users/KanoComputing/events{/privacy}","received_events_url":"https://api.github.com/users/KanoComputing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KanoComputing/kano-screenshot","description":"Helper tool to take screenshots in Kanux","fork":false,"url":"https://api.github.com/repos/KanoComputing/kano-screenshot","forks_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/forks","keys_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/teams","hooks_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/hooks","issue_events_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/issues/events{/number}","events_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/events","assignees_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/assignees{/user}","branches_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/branches{/branch}","tags_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/tags","blobs_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/git/refs{/sha}","trees_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/statuses/{sha}","languages_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/languages","stargazers_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/stargazers","contributors_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/contributors","subscribers_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/subscribers","subscription_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/subscription","commits_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/commits{/sha}","git_commits_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/git/commits{/sha}","comments_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/comments{/number}","issue_comment_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/issues/comments{/number}","contents_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/contents/{+path}","compare_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/merges","archive_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/downloads","issues_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/issues{/number}","pulls_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/pulls{/number}","milestones_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/milestones{/number}","notifications_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/labels{/name}","releases_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/releases{/id}","created_at":"2014-04-28T11:20:13Z","updated_at":"2015-03-20T15:44:10Z","pushed_at":"2016-01-06T15:07:00Z","git_url":"git://github.com/KanoComputing/kano-screenshot.git","ssh_url":"git@github.com:KanoComputing/kano-screenshot.git","clone_url":"https://github.com/KanoComputing/kano-screenshot.git","svn_url":"https://github.com/KanoComputing/kano-screenshot","homepage":null,"size":55,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"KanoComputing:jessie","ref":"jessie","sha":"eb79b616fb253581efe3b757b169d2ba676e6d9a","user":{"login":"KanoComputing","id":3909402,"avatar_url":"https://avatars.githubusercontent.com/u/3909402?v=3","gravatar_id":"","url":"https://api.github.com/users/KanoComputing","html_url":"https://github.com/KanoComputing","followers_url":"https://api.github.com/users/KanoComputing/followers","following_url":"https://api.github.com/users/KanoComputing/following{/other_user}","gists_url":"https://api.github.com/users/KanoComputing/gists{/gist_id}","starred_url":"https://api.github.com/users/KanoComputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KanoComputing/subscriptions","organizations_url":"https://api.github.com/users/KanoComputing/orgs","repos_url":"https://api.github.com/users/KanoComputing/repos","events_url":"https://api.github.com/users/KanoComputing/events{/privacy}","received_events_url":"https://api.github.com/users/KanoComputing/received_events","type":"Organization","site_admin":false},"repo":{"id":19236178,"name":"kano-screenshot","full_name":"KanoComputing/kano-screenshot","owner":{"login":"KanoComputing","id":3909402,"avatar_url":"https://avatars.githubusercontent.com/u/3909402?v=3","gravatar_id":"","url":"https://api.github.com/users/KanoComputing","html_url":"https://github.com/KanoComputing","followers_url":"https://api.github.com/users/KanoComputing/followers","following_url":"https://api.github.com/users/KanoComputing/following{/other_user}","gists_url":"https://api.github.com/users/KanoComputing/gists{/gist_id}","starred_url":"https://api.github.com/users/KanoComputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KanoComputing/subscriptions","organizations_url":"https://api.github.com/users/KanoComputing/orgs","repos_url":"https://api.github.com/users/KanoComputing/repos","events_url":"https://api.github.com/users/KanoComputing/events{/privacy}","received_events_url":"https://api.github.com/users/KanoComputing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KanoComputing/kano-screenshot","description":"Helper tool to take screenshots in Kanux","fork":false,"url":"https://api.github.com/repos/KanoComputing/kano-screenshot","forks_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/forks","keys_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/teams","hooks_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/hooks","issue_events_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/issues/events{/number}","events_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/events","assignees_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/assignees{/user}","branches_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/branches{/branch}","tags_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/tags","blobs_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/git/refs{/sha}","trees_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/statuses/{sha}","languages_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/languages","stargazers_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/stargazers","contributors_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/contributors","subscribers_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/subscribers","subscription_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/subscription","commits_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/commits{/sha}","git_commits_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/git/commits{/sha}","comments_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/comments{/number}","issue_comment_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/issues/comments{/number}","contents_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/contents/{+path}","compare_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/merges","archive_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/downloads","issues_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/issues{/number}","pulls_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/pulls{/number}","milestones_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/milestones{/number}","notifications_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/labels{/name}","releases_url":"https://api.github.com/repos/KanoComputing/kano-screenshot/releases{/id}","created_at":"2014-04-28T11:20:13Z","updated_at":"2015-03-20T15:44:10Z","pushed_at":"2016-01-06T15:07:00Z","git_url":"git://github.com/KanoComputing/kano-screenshot.git","ssh_url":"git@github.com:KanoComputing/kano-screenshot.git","clone_url":"https://github.com/KanoComputing/kano-screenshot.git","svn_url":"https://github.com/KanoComputing/kano-screenshot","homepage":null,"size":55,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KanoComputing/kano-screenshot/pulls/12"},"html":{"href":"https://github.com/KanoComputing/kano-screenshot/pull/12"},"issue":{"href":"https://api.github.com/repos/KanoComputing/kano-screenshot/issues/12"},"comments":{"href":"https://api.github.com/repos/KanoComputing/kano-screenshot/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/KanoComputing/kano-screenshot/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/KanoComputing/kano-screenshot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KanoComputing/kano-screenshot/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/KanoComputing/kano-screenshot/statuses/d2b38581e6b723053ed32f75817d188353e832ba"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":78,"deletions":1,"changed_files":1}}