{"action":"created","comment":{"url":"https://api.github.com/repos/magic-lang/ooc-kean/pulls/comments/52888740","id":52888740,"diff_hunk":"@@ -36,7 +36,7 @@ ColorUv: cover {\n \ttoMonochrome: func -> ColorMonochrome { ColorMonochrome new() }\n \ttoYuv: func -> ColorYuv { ColorYuv new(128, this u, this v) }\n \ttoYuva: func -> ColorYuva { ColorYuva new(128, this u, this v, 255) }\n-\ttoRgb: func -> ColorRgb { ColorConvert yuvToBgr(this toYuv()) toRgb() }\n+\ttoRgb: func -> ColorRgb { ColorConvert yuvToRgb(this toYuv()) }","path":"source/draw/Color.ooc","position":5,"original_position":5,"commit_id":"be203de9d0e103934676ac7be0db036d4a631211","original_commit_id":"be203de9d0e103934676ac7be0db036d4a631211","user":{"login":"davidpiuva","id":10193545,"avatar_url":"https://avatars.githubusercontent.com/u/10193545?v=3","gravatar_id":"","url":"https://api.github.com/users/davidpiuva","html_url":"https://github.com/davidpiuva","followers_url":"https://api.github.com/users/davidpiuva/followers","following_url":"https://api.github.com/users/davidpiuva/following{/other_user}","gists_url":"https://api.github.com/users/davidpiuva/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpiuva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpiuva/subscriptions","organizations_url":"https://api.github.com/users/davidpiuva/orgs","repos_url":"https://api.github.com/users/davidpiuva/repos","events_url":"https://api.github.com/users/davidpiuva/events{/privacy}","received_events_url":"https://api.github.com/users/davidpiuva/received_events","type":"User","site_admin":false},"body":"Color conversion now goes directly between RGB and YUV so that BGR can later be removed.","created_at":"2016-02-15T11:35:53Z","updated_at":"2016-02-15T11:35:53Z","html_url":"https://github.com/magic-lang/ooc-kean/pull/1391#discussion_r52888740","pull_request_url":"https://api.github.com/repos/magic-lang/ooc-kean/pulls/1391","_links":{"self":{"href":"https://api.github.com/repos/magic-lang/ooc-kean/pulls/comments/52888740"},"html":{"href":"https://github.com/magic-lang/ooc-kean/pull/1391#discussion_r52888740"},"pull_request":{"href":"https://api.github.com/repos/magic-lang/ooc-kean/pulls/1391"}}},"pull_request":{"url":"https://api.github.com/repos/magic-lang/ooc-kean/pulls/1391","id":59352147,"html_url":"https://github.com/magic-lang/ooc-kean/pull/1391","diff_url":"https://github.com/magic-lang/ooc-kean/pull/1391.diff","patch_url":"https://github.com/magic-lang/ooc-kean/pull/1391.patch","issue_url":"https://api.github.com/repos/magic-lang/ooc-kean/issues/1391","number":1391,"state":"open","locked":false,"title":"RGB","user":{"login":"davidpiuva","id":10193545,"avatar_url":"https://avatars.githubusercontent.com/u/10193545?v=3","gravatar_id":"","url":"https://api.github.com/users/davidpiuva","html_url":"https://github.com/davidpiuva","followers_url":"https://api.github.com/users/davidpiuva/followers","following_url":"https://api.github.com/users/davidpiuva/following{/other_user}","gists_url":"https://api.github.com/users/davidpiuva/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpiuva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpiuva/subscriptions","organizations_url":"https://api.github.com/users/davidpiuva/orgs","repos_url":"https://api.github.com/users/davidpiuva/repos","events_url":"https://api.github.com/users/davidpiuva/events{/privacy}","received_events_url":"https://api.github.com/users/davidpiuva/received_events","type":"User","site_admin":false},"body":"Made images in RGB format.","created_at":"2016-02-15T11:34:25Z","updated_at":"2016-02-15T11:35:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81a90736182002958bca7ce5aecf44c44e38b0ac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/magic-lang/ooc-kean/pulls/1391/commits","review_comments_url":"https://api.github.com/repos/magic-lang/ooc-kean/pulls/1391/comments","review_comment_url":"https://api.github.com/repos/magic-lang/ooc-kean/pulls/comments{/number}","comments_url":"https://api.github.com/repos/magic-lang/ooc-kean/issues/1391/comments","statuses_url":"https://api.github.com/repos/magic-lang/ooc-kean/statuses/be203de9d0e103934676ac7be0db036d4a631211","head":{"label":"davidpiuva:rgb","ref":"rgb","sha":"be203de9d0e103934676ac7be0db036d4a631211","user":{"login":"davidpiuva","id":10193545,"avatar_url":"https://avatars.githubusercontent.com/u/10193545?v=3","gravatar_id":"","url":"https://api.github.com/users/davidpiuva","html_url":"https://github.com/davidpiuva","followers_url":"https://api.github.com/users/davidpiuva/followers","following_url":"https://api.github.com/users/davidpiuva/following{/other_user}","gists_url":"https://api.github.com/users/davidpiuva/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpiuva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpiuva/subscriptions","organizations_url":"https://api.github.com/users/davidpiuva/orgs","repos_url":"https://api.github.com/users/davidpiuva/repos","events_url":"https://api.github.com/users/davidpiuva/events{/privacy}","received_events_url":"https://api.github.com/users/davidpiuva/received_events","type":"User","site_admin":false},"repo":{"id":28035938,"name":"ooc-kean","full_name":"davidpiuva/ooc-kean","owner":{"login":"davidpiuva","id":10193545,"avatar_url":"https://avatars.githubusercontent.com/u/10193545?v=3","gravatar_id":"","url":"https://api.github.com/users/davidpiuva","html_url":"https://github.com/davidpiuva","followers_url":"https://api.github.com/users/davidpiuva/followers","following_url":"https://api.github.com/users/davidpiuva/following{/other_user}","gists_url":"https://api.github.com/users/davidpiuva/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpiuva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpiuva/subscriptions","organizations_url":"https://api.github.com/users/davidpiuva/orgs","repos_url":"https://api.github.com/users/davidpiuva/repos","events_url":"https://api.github.com/users/davidpiuva/events{/privacy}","received_events_url":"https://api.github.com/users/davidpiuva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidpiuva/ooc-kean","description":"OOC port of parts of Kean.","fork":true,"url":"https://api.github.com/repos/davidpiuva/ooc-kean","forks_url":"https://api.github.com/repos/davidpiuva/ooc-kean/forks","keys_url":"https://api.github.com/repos/davidpiuva/ooc-kean/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidpiuva/ooc-kean/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidpiuva/ooc-kean/teams","hooks_url":"https://api.github.com/repos/davidpiuva/ooc-kean/hooks","issue_events_url":"https://api.github.com/repos/davidpiuva/ooc-kean/issues/events{/number}","events_url":"https://api.github.com/repos/davidpiuva/ooc-kean/events","assignees_url":"https://api.github.com/repos/davidpiuva/ooc-kean/assignees{/user}","branches_url":"https://api.github.com/repos/davidpiuva/ooc-kean/branches{/branch}","tags_url":"https://api.github.com/repos/davidpiuva/ooc-kean/tags","blobs_url":"https://api.github.com/repos/davidpiuva/ooc-kean/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidpiuva/ooc-kean/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidpiuva/ooc-kean/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidpiuva/ooc-kean/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidpiuva/ooc-kean/statuses/{sha}","languages_url":"https://api.github.com/repos/davidpiuva/ooc-kean/languages","stargazers_url":"https://api.github.com/repos/davidpiuva/ooc-kean/stargazers","contributors_url":"https://api.github.com/repos/davidpiuva/ooc-kean/contributors","subscribers_url":"https://api.github.com/repos/davidpiuva/ooc-kean/subscribers","subscription_url":"https://api.github.com/repos/davidpiuva/ooc-kean/subscription","commits_url":"https://api.github.com/repos/davidpiuva/ooc-kean/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidpiuva/ooc-kean/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidpiuva/ooc-kean/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidpiuva/ooc-kean/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidpiuva/ooc-kean/contents/{+path}","compare_url":"https://api.github.com/repos/davidpiuva/ooc-kean/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidpiuva/ooc-kean/merges","archive_url":"https://api.github.com/repos/davidpiuva/ooc-kean/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidpiuva/ooc-kean/downloads","issues_url":"https://api.github.com/repos/davidpiuva/ooc-kean/issues{/number}","pulls_url":"https://api.github.com/repos/davidpiuva/ooc-kean/pulls{/number}","milestones_url":"https://api.github.com/repos/davidpiuva/ooc-kean/milestones{/number}","notifications_url":"https://api.github.com/repos/davidpiuva/ooc-kean/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidpiuva/ooc-kean/labels{/name}","releases_url":"https://api.github.com/repos/davidpiuva/ooc-kean/releases{/id}","deployments_url":"https://api.github.com/repos/davidpiuva/ooc-kean/deployments","created_at":"2014-12-15T12:34:56Z","updated_at":"2016-01-21T11:50:29Z","pushed_at":"2016-02-15T11:32:10Z","git_url":"git://github.com/davidpiuva/ooc-kean.git","ssh_url":"git@github.com:davidpiuva/ooc-kean.git","clone_url":"https://github.com/davidpiuva/ooc-kean.git","svn_url":"https://github.com/davidpiuva/ooc-kean","homepage":null,"size":30607,"stargazers_count":0,"watchers_count":0,"language":"ooc","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"magic-lang:master","ref":"master","sha":"11e5e0402943b3c65239522a29922f32ada6445e","user":{"login":"magic-lang","id":16756691,"avatar_url":"https://avatars.githubusercontent.com/u/16756691?v=3","gravatar_id":"","url":"https://api.github.com/users/magic-lang","html_url":"https://github.com/magic-lang","followers_url":"https://api.github.com/users/magic-lang/followers","following_url":"https://api.github.com/users/magic-lang/following{/other_user}","gists_url":"https://api.github.com/users/magic-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/magic-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magic-lang/subscriptions","organizations_url":"https://api.github.com/users/magic-lang/orgs","repos_url":"https://api.github.com/users/magic-lang/repos","events_url":"https://api.github.com/users/magic-lang/events{/privacy}","received_events_url":"https://api.github.com/users/magic-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":25256330,"name":"ooc-kean","full_name":"magic-lang/ooc-kean","owner":{"login":"magic-lang","id":16756691,"avatar_url":"https://avatars.githubusercontent.com/u/16756691?v=3","gravatar_id":"","url":"https://api.github.com/users/magic-lang","html_url":"https://github.com/magic-lang","followers_url":"https://api.github.com/users/magic-lang/followers","following_url":"https://api.github.com/users/magic-lang/following{/other_user}","gists_url":"https://api.github.com/users/magic-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/magic-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magic-lang/subscriptions","organizations_url":"https://api.github.com/users/magic-lang/orgs","repos_url":"https://api.github.com/users/magic-lang/repos","events_url":"https://api.github.com/users/magic-lang/events{/privacy}","received_events_url":"https://api.github.com/users/magic-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/magic-lang/ooc-kean","description":"ooc port of parts of Kean.","fork":false,"url":"https://api.github.com/repos/magic-lang/ooc-kean","forks_url":"https://api.github.com/repos/magic-lang/ooc-kean/forks","keys_url":"https://api.github.com/repos/magic-lang/ooc-kean/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magic-lang/ooc-kean/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magic-lang/ooc-kean/teams","hooks_url":"https://api.github.com/repos/magic-lang/ooc-kean/hooks","issue_events_url":"https://api.github.com/repos/magic-lang/ooc-kean/issues/events{/number}","events_url":"https://api.github.com/repos/magic-lang/ooc-kean/events","assignees_url":"https://api.github.com/repos/magic-lang/ooc-kean/assignees{/user}","branches_url":"https://api.github.com/repos/magic-lang/ooc-kean/branches{/branch}","tags_url":"https://api.github.com/repos/magic-lang/ooc-kean/tags","blobs_url":"https://api.github.com/repos/magic-lang/ooc-kean/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magic-lang/ooc-kean/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magic-lang/ooc-kean/git/refs{/sha}","trees_url":"https://api.github.com/repos/magic-lang/ooc-kean/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magic-lang/ooc-kean/statuses/{sha}","languages_url":"https://api.github.com/repos/magic-lang/ooc-kean/languages","stargazers_url":"https://api.github.com/repos/magic-lang/ooc-kean/stargazers","contributors_url":"https://api.github.com/repos/magic-lang/ooc-kean/contributors","subscribers_url":"https://api.github.com/repos/magic-lang/ooc-kean/subscribers","subscription_url":"https://api.github.com/repos/magic-lang/ooc-kean/subscription","commits_url":"https://api.github.com/repos/magic-lang/ooc-kean/commits{/sha}","git_commits_url":"https://api.github.com/repos/magic-lang/ooc-kean/git/commits{/sha}","comments_url":"https://api.github.com/repos/magic-lang/ooc-kean/comments{/number}","issue_comment_url":"https://api.github.com/repos/magic-lang/ooc-kean/issues/comments{/number}","contents_url":"https://api.github.com/repos/magic-lang/ooc-kean/contents/{+path}","compare_url":"https://api.github.com/repos/magic-lang/ooc-kean/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magic-lang/ooc-kean/merges","archive_url":"https://api.github.com/repos/magic-lang/ooc-kean/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magic-lang/ooc-kean/downloads","issues_url":"https://api.github.com/repos/magic-lang/ooc-kean/issues{/number}","pulls_url":"https://api.github.com/repos/magic-lang/ooc-kean/pulls{/number}","milestones_url":"https://api.github.com/repos/magic-lang/ooc-kean/milestones{/number}","notifications_url":"https://api.github.com/repos/magic-lang/ooc-kean/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magic-lang/ooc-kean/labels{/name}","releases_url":"https://api.github.com/repos/magic-lang/ooc-kean/releases{/id}","deployments_url":"https://api.github.com/repos/magic-lang/ooc-kean/deployments","created_at":"2014-10-15T13:42:17Z","updated_at":"2016-01-21T11:50:29Z","pushed_at":"2016-02-15T11:34:26Z","git_url":"git://github.com/magic-lang/ooc-kean.git","ssh_url":"git@github.com:magic-lang/ooc-kean.git","clone_url":"https://github.com/magic-lang/ooc-kean.git","svn_url":"https://github.com/magic-lang/ooc-kean","homepage":"","size":31083,"stargazers_count":3,"watchers_count":3,"language":"ooc","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":41,"forks":18,"open_issues":41,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/magic-lang/ooc-kean/pulls/1391"},"html":{"href":"https://github.com/magic-lang/ooc-kean/pull/1391"},"issue":{"href":"https://api.github.com/repos/magic-lang/ooc-kean/issues/1391"},"comments":{"href":"https://api.github.com/repos/magic-lang/ooc-kean/issues/1391/comments"},"review_comments":{"href":"https://api.github.com/repos/magic-lang/ooc-kean/pulls/1391/comments"},"review_comment":{"href":"https://api.github.com/repos/magic-lang/ooc-kean/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/magic-lang/ooc-kean/pulls/1391/commits"},"statuses":{"href":"https://api.github.com/repos/magic-lang/ooc-kean/statuses/be203de9d0e103934676ac7be0db036d4a631211"}}}}