{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/mapbox/pixelmatch/pulls/7","id":48547122,"html_url":"https://github.com/mapbox/pixelmatch/pull/7","diff_url":"https://github.com/mapbox/pixelmatch/pull/7.diff","patch_url":"https://github.com/mapbox/pixelmatch/pull/7.patch","issue_url":"https://api.github.com/repos/mapbox/pixelmatch/issues/7","number":7,"state":"closed","locked":false,"title":"YIQ-based color metric","user":{"login":"mourner","id":25395,"avatar_url":"https://avatars.githubusercontent.com/u/25395?v=3","gravatar_id":"","url":"https://api.github.com/users/mourner","html_url":"https://github.com/mourner","followers_url":"https://api.github.com/users/mourner/followers","following_url":"https://api.github.com/users/mourner/following{/other_user}","gists_url":"https://api.github.com/users/mourner/gists{/gist_id}","starred_url":"https://api.github.com/users/mourner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mourner/subscriptions","organizations_url":"https://api.github.com/users/mourner/orgs","repos_url":"https://api.github.com/users/mourner/repos","events_url":"https://api.github.com/users/mourner/events{/privacy}","received_events_url":"https://api.github.com/users/mourner/received_events","type":"User","site_admin":false},"body":"Implements the formula [in this paper](http://www.progmat.uaem.mx:8080/artVol2Num2/Articulo3Vol2Num2.pdf), which is much closer to CIEDE2000 in quality unlike YUV distance which was non-uniform.\r\n\r\nAlso fixes RGBA to RGB conversion to blend with white rather than black.\r\n\r\n- [x] update tests\r\n- [ ] try to optimize some more\r\n- [x] cleanup and code comments\r\n- [x] update readme\r\n\r\ncc @hastebrot","created_at":"2015-10-23T06:45:52Z","updated_at":"2015-10-23T17:11:22Z","closed_at":"2015-10-23T17:11:22Z","merged_at":"2015-10-23T17:11:22Z","merge_commit_sha":"04f9cb7abe71c37a6a0b18474a1b6fcfbe8a063a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/pixelmatch/pulls/7/commits","review_comments_url":"https://api.github.com/repos/mapbox/pixelmatch/pulls/7/comments","review_comment_url":"https://api.github.com/repos/mapbox/pixelmatch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/pixelmatch/issues/7/comments","statuses_url":"https://api.github.com/repos/mapbox/pixelmatch/statuses/34ab682b3d200d58e373a3e3782820c8da330266","head":{"label":"mapbox:yiq-color","ref":"yiq-color","sha":"34ab682b3d200d58e373a3e3782820c8da330266","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":44182157,"name":"pixelmatch","full_name":"mapbox/pixelmatch","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/pixelmatch","description":"The smallest, simplest and fastest JavaScript pixel-level image comparison library","fork":false,"url":"https://api.github.com/repos/mapbox/pixelmatch","forks_url":"https://api.github.com/repos/mapbox/pixelmatch/forks","keys_url":"https://api.github.com/repos/mapbox/pixelmatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/pixelmatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/pixelmatch/teams","hooks_url":"https://api.github.com/repos/mapbox/pixelmatch/hooks","issue_events_url":"https://api.github.com/repos/mapbox/pixelmatch/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/pixelmatch/events","assignees_url":"https://api.github.com/repos/mapbox/pixelmatch/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/pixelmatch/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/pixelmatch/tags","blobs_url":"https://api.github.com/repos/mapbox/pixelmatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/pixelmatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/pixelmatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/pixelmatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/pixelmatch/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/pixelmatch/languages","stargazers_url":"https://api.github.com/repos/mapbox/pixelmatch/stargazers","contributors_url":"https://api.github.com/repos/mapbox/pixelmatch/contributors","subscribers_url":"https://api.github.com/repos/mapbox/pixelmatch/subscribers","subscription_url":"https://api.github.com/repos/mapbox/pixelmatch/subscription","commits_url":"https://api.github.com/repos/mapbox/pixelmatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/pixelmatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/pixelmatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/pixelmatch/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/pixelmatch/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/pixelmatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/pixelmatch/merges","archive_url":"https://api.github.com/repos/mapbox/pixelmatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/pixelmatch/downloads","issues_url":"https://api.github.com/repos/mapbox/pixelmatch/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/pixelmatch/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/pixelmatch/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/pixelmatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/pixelmatch/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/pixelmatch/releases{/id}","created_at":"2015-10-13T14:31:23Z","updated_at":"2015-10-21T20:02:55Z","pushed_at":"2015-10-23T17:11:22Z","git_url":"git://github.com/mapbox/pixelmatch.git","ssh_url":"git@github.com:mapbox/pixelmatch.git","clone_url":"https://github.com/mapbox/pixelmatch.git","svn_url":"https://github.com/mapbox/pixelmatch","homepage":"","size":1280,"stargazers_count":65,"watchers_count":65,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":65,"default_branch":"master"}},"base":{"label":"mapbox:master","ref":"master","sha":"eed59ff48def28d8348dea975590e8510ef8dd5f","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":44182157,"name":"pixelmatch","full_name":"mapbox/pixelmatch","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/pixelmatch","description":"The smallest, simplest and fastest JavaScript pixel-level image comparison library","fork":false,"url":"https://api.github.com/repos/mapbox/pixelmatch","forks_url":"https://api.github.com/repos/mapbox/pixelmatch/forks","keys_url":"https://api.github.com/repos/mapbox/pixelmatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/pixelmatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/pixelmatch/teams","hooks_url":"https://api.github.com/repos/mapbox/pixelmatch/hooks","issue_events_url":"https://api.github.com/repos/mapbox/pixelmatch/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/pixelmatch/events","assignees_url":"https://api.github.com/repos/mapbox/pixelmatch/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/pixelmatch/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/pixelmatch/tags","blobs_url":"https://api.github.com/repos/mapbox/pixelmatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/pixelmatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/pixelmatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/pixelmatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/pixelmatch/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/pixelmatch/languages","stargazers_url":"https://api.github.com/repos/mapbox/pixelmatch/stargazers","contributors_url":"https://api.github.com/repos/mapbox/pixelmatch/contributors","subscribers_url":"https://api.github.com/repos/mapbox/pixelmatch/subscribers","subscription_url":"https://api.github.com/repos/mapbox/pixelmatch/subscription","commits_url":"https://api.github.com/repos/mapbox/pixelmatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/pixelmatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/pixelmatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/pixelmatch/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/pixelmatch/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/pixelmatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/pixelmatch/merges","archive_url":"https://api.github.com/repos/mapbox/pixelmatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/pixelmatch/downloads","issues_url":"https://api.github.com/repos/mapbox/pixelmatch/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/pixelmatch/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/pixelmatch/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/pixelmatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/pixelmatch/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/pixelmatch/releases{/id}","created_at":"2015-10-13T14:31:23Z","updated_at":"2015-10-21T20:02:55Z","pushed_at":"2015-10-23T17:11:22Z","git_url":"git://github.com/mapbox/pixelmatch.git","ssh_url":"git@github.com:mapbox/pixelmatch.git","clone_url":"https://github.com/mapbox/pixelmatch.git","svn_url":"https://github.com/mapbox/pixelmatch","homepage":"","size":1280,"stargazers_count":65,"watchers_count":65,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/pixelmatch/pulls/7"},"html":{"href":"https://github.com/mapbox/pixelmatch/pull/7"},"issue":{"href":"https://api.github.com/repos/mapbox/pixelmatch/issues/7"},"comments":{"href":"https://api.github.com/repos/mapbox/pixelmatch/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/pixelmatch/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/pixelmatch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/pixelmatch/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/pixelmatch/statuses/34ab682b3d200d58e373a3e3782820c8da330266"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mourner","id":25395,"avatar_url":"https://avatars.githubusercontent.com/u/25395?v=3","gravatar_id":"","url":"https://api.github.com/users/mourner","html_url":"https://github.com/mourner","followers_url":"https://api.github.com/users/mourner/followers","following_url":"https://api.github.com/users/mourner/following{/other_user}","gists_url":"https://api.github.com/users/mourner/gists{/gist_id}","starred_url":"https://api.github.com/users/mourner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mourner/subscriptions","organizations_url":"https://api.github.com/users/mourner/orgs","repos_url":"https://api.github.com/users/mourner/repos","events_url":"https://api.github.com/users/mourner/events{/privacy}","received_events_url":"https://api.github.com/users/mourner/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"commits":2,"additions":47,"deletions":33,"changed_files":7}}