{"action":"closed","number":2153,"pull_request":{"url":"https://api.github.com/repos/minetest/minetest/pulls/2153","id":27587084,"html_url":"https://github.com/minetest/minetest/pull/2153","diff_url":"https://github.com/minetest/minetest/pull/2153.diff","patch_url":"https://github.com/minetest/minetest/pull/2153.patch","issue_url":"https://api.github.com/repos/minetest/minetest/issues/2153","number":2153,"state":"closed","locked":false,"title":"Fix colorize using the color alpha literally and as the ratio to interpolate the colors with.","user":{"login":"TriBlade9","id":7366171,"avatar_url":"https://avatars.githubusercontent.com/u/7366171?v=3","gravatar_id":"","url":"https://api.github.com/users/TriBlade9","html_url":"https://github.com/TriBlade9","followers_url":"https://api.github.com/users/TriBlade9/followers","following_url":"https://api.github.com/users/TriBlade9/following{/other_user}","gists_url":"https://api.github.com/users/TriBlade9/gists{/gist_id}","starred_url":"https://api.github.com/users/TriBlade9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TriBlade9/subscriptions","organizations_url":"https://api.github.com/users/TriBlade9/orgs","repos_url":"https://api.github.com/users/TriBlade9/repos","events_url":"https://api.github.com/users/TriBlade9/events{/privacy}","received_events_url":"https://api.github.com/users/TriBlade9/received_events","type":"User","site_admin":false},"body":"Adds a second argument to `[colorize:` to specify the ratio to interpolate the colors with. (Essentially the alpha used in applying the color to the base image) (I'm really bad at wording things)\r\n\r\nThe old method used the alpha as the ratio, making it impossible to effectively use the alpha.\r\nThis will *not* break existing uses of `[colorize:`, if the ratio is omitted it will behave as previously.\r\n\r\nExample:\r\n`[colorize:#FF0000EE:200` Will apply the red color over the image below it, but still show the base image through a bit.\r\n`[colorize:#FF0000EE:255` Will apply the red color over the image entirely, as #FF0000FF would have done previously, while preserving the alpha of EE.\r\n\r\nPlease someone help my tongue-twisted-ness. :C","created_at":"2015-01-19T06:20:36Z","updated_at":"2015-01-20T12:57:07Z","closed_at":"2015-01-20T12:57:07Z","merged_at":null,"merge_commit_sha":"2827b830c097bb2a8028ade6689cc5abcd9fc66b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/minetest/minetest/pulls/2153/commits","review_comments_url":"https://api.github.com/repos/minetest/minetest/pulls/2153/comments","review_comment_url":"https://api.github.com/repos/minetest/minetest/pulls/comments/{number}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/2153/comments","statuses_url":"https://api.github.com/repos/minetest/minetest/statuses/eea6d261c001c186f08400ad5d45ea5cca7a7ee7","head":{"label":"TriBlade9:better_colorize","ref":"better_colorize","sha":"eea6d261c001c186f08400ad5d45ea5cca7a7ee7","user":{"login":"TriBlade9","id":7366171,"avatar_url":"https://avatars.githubusercontent.com/u/7366171?v=3","gravatar_id":"","url":"https://api.github.com/users/TriBlade9","html_url":"https://github.com/TriBlade9","followers_url":"https://api.github.com/users/TriBlade9/followers","following_url":"https://api.github.com/users/TriBlade9/following{/other_user}","gists_url":"https://api.github.com/users/TriBlade9/gists{/gist_id}","starred_url":"https://api.github.com/users/TriBlade9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TriBlade9/subscriptions","organizations_url":"https://api.github.com/users/TriBlade9/orgs","repos_url":"https://api.github.com/users/TriBlade9/repos","events_url":"https://api.github.com/users/TriBlade9/events{/privacy}","received_events_url":"https://api.github.com/users/TriBlade9/received_events","type":"User","site_admin":false},"repo":{"id":24083540,"name":"minetest","full_name":"TriBlade9/minetest","owner":{"login":"TriBlade9","id":7366171,"avatar_url":"https://avatars.githubusercontent.com/u/7366171?v=3","gravatar_id":"","url":"https://api.github.com/users/TriBlade9","html_url":"https://github.com/TriBlade9","followers_url":"https://api.github.com/users/TriBlade9/followers","following_url":"https://api.github.com/users/TriBlade9/following{/other_user}","gists_url":"https://api.github.com/users/TriBlade9/gists{/gist_id}","starred_url":"https://api.github.com/users/TriBlade9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TriBlade9/subscriptions","organizations_url":"https://api.github.com/users/TriBlade9/orgs","repos_url":"https://api.github.com/users/TriBlade9/repos","events_url":"https://api.github.com/users/TriBlade9/events{/privacy}","received_events_url":"https://api.github.com/users/TriBlade9/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TriBlade9/minetest","description":"Minetest, an open source infinite-world block sandbox game with survival and crafting. [also https://github.com/minetest/minetest_game]","fork":true,"url":"https://api.github.com/repos/TriBlade9/minetest","forks_url":"https://api.github.com/repos/TriBlade9/minetest/forks","keys_url":"https://api.github.com/repos/TriBlade9/minetest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TriBlade9/minetest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TriBlade9/minetest/teams","hooks_url":"https://api.github.com/repos/TriBlade9/minetest/hooks","issue_events_url":"https://api.github.com/repos/TriBlade9/minetest/issues/events{/number}","events_url":"https://api.github.com/repos/TriBlade9/minetest/events","assignees_url":"https://api.github.com/repos/TriBlade9/minetest/assignees{/user}","branches_url":"https://api.github.com/repos/TriBlade9/minetest/branches{/branch}","tags_url":"https://api.github.com/repos/TriBlade9/minetest/tags","blobs_url":"https://api.github.com/repos/TriBlade9/minetest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TriBlade9/minetest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TriBlade9/minetest/git/refs{/sha}","trees_url":"https://api.github.com/repos/TriBlade9/minetest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TriBlade9/minetest/statuses/{sha}","languages_url":"https://api.github.com/repos/TriBlade9/minetest/languages","stargazers_url":"https://api.github.com/repos/TriBlade9/minetest/stargazers","contributors_url":"https://api.github.com/repos/TriBlade9/minetest/contributors","subscribers_url":"https://api.github.com/repos/TriBlade9/minetest/subscribers","subscription_url":"https://api.github.com/repos/TriBlade9/minetest/subscription","commits_url":"https://api.github.com/repos/TriBlade9/minetest/commits{/sha}","git_commits_url":"https://api.github.com/repos/TriBlade9/minetest/git/commits{/sha}","comments_url":"https://api.github.com/repos/TriBlade9/minetest/comments{/number}","issue_comment_url":"https://api.github.com/repos/TriBlade9/minetest/issues/comments/{number}","contents_url":"https://api.github.com/repos/TriBlade9/minetest/contents/{+path}","compare_url":"https://api.github.com/repos/TriBlade9/minetest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TriBlade9/minetest/merges","archive_url":"https://api.github.com/repos/TriBlade9/minetest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TriBlade9/minetest/downloads","issues_url":"https://api.github.com/repos/TriBlade9/minetest/issues{/number}","pulls_url":"https://api.github.com/repos/TriBlade9/minetest/pulls{/number}","milestones_url":"https://api.github.com/repos/TriBlade9/minetest/milestones{/number}","notifications_url":"https://api.github.com/repos/TriBlade9/minetest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TriBlade9/minetest/labels{/name}","releases_url":"https://api.github.com/repos/TriBlade9/minetest/releases{/id}","created_at":"2014-09-16T03:14:02Z","updated_at":"2015-01-19T05:19:06Z","pushed_at":"2015-01-20T12:55:39Z","git_url":"git://github.com/TriBlade9/minetest.git","ssh_url":"git@github.com:TriBlade9/minetest.git","clone_url":"https://github.com/TriBlade9/minetest.git","svn_url":"https://github.com/TriBlade9/minetest","homepage":"http://minetest.net/","size":32193,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"minetest:master","ref":"master","sha":"60d745126f8cdb2463fa36de7e3a50e8226cbc27","user":{"login":"minetest","id":2624745,"avatar_url":"https://avatars.githubusercontent.com/u/2624745?v=3","gravatar_id":"","url":"https://api.github.com/users/minetest","html_url":"https://github.com/minetest","followers_url":"https://api.github.com/users/minetest/followers","following_url":"https://api.github.com/users/minetest/following{/other_user}","gists_url":"https://api.github.com/users/minetest/gists{/gist_id}","starred_url":"https://api.github.com/users/minetest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minetest/subscriptions","organizations_url":"https://api.github.com/users/minetest/orgs","repos_url":"https://api.github.com/users/minetest/repos","events_url":"https://api.github.com/users/minetest/events{/privacy}","received_events_url":"https://api.github.com/users/minetest/received_events","type":"Organization","site_admin":false},"repo":{"id":2168780,"name":"minetest","full_name":"minetest/minetest","owner":{"login":"minetest","id":2624745,"avatar_url":"https://avatars.githubusercontent.com/u/2624745?v=3","gravatar_id":"","url":"https://api.github.com/users/minetest","html_url":"https://github.com/minetest","followers_url":"https://api.github.com/users/minetest/followers","following_url":"https://api.github.com/users/minetest/following{/other_user}","gists_url":"https://api.github.com/users/minetest/gists{/gist_id}","starred_url":"https://api.github.com/users/minetest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minetest/subscriptions","organizations_url":"https://api.github.com/users/minetest/orgs","repos_url":"https://api.github.com/users/minetest/repos","events_url":"https://api.github.com/users/minetest/events{/privacy}","received_events_url":"https://api.github.com/users/minetest/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/minetest/minetest","description":"Minetest, an open source infinite-world block sandbox game with survival and crafting. [also https://github.com/minetest/minetest_game]","fork":false,"url":"https://api.github.com/repos/minetest/minetest","forks_url":"https://api.github.com/repos/minetest/minetest/forks","keys_url":"https://api.github.com/repos/minetest/minetest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minetest/minetest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minetest/minetest/teams","hooks_url":"https://api.github.com/repos/minetest/minetest/hooks","issue_events_url":"https://api.github.com/repos/minetest/minetest/issues/events{/number}","events_url":"https://api.github.com/repos/minetest/minetest/events","assignees_url":"https://api.github.com/repos/minetest/minetest/assignees{/user}","branches_url":"https://api.github.com/repos/minetest/minetest/branches{/branch}","tags_url":"https://api.github.com/repos/minetest/minetest/tags","blobs_url":"https://api.github.com/repos/minetest/minetest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minetest/minetest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minetest/minetest/git/refs{/sha}","trees_url":"https://api.github.com/repos/minetest/minetest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minetest/minetest/statuses/{sha}","languages_url":"https://api.github.com/repos/minetest/minetest/languages","stargazers_url":"https://api.github.com/repos/minetest/minetest/stargazers","contributors_url":"https://api.github.com/repos/minetest/minetest/contributors","subscribers_url":"https://api.github.com/repos/minetest/minetest/subscribers","subscription_url":"https://api.github.com/repos/minetest/minetest/subscription","commits_url":"https://api.github.com/repos/minetest/minetest/commits{/sha}","git_commits_url":"https://api.github.com/repos/minetest/minetest/git/commits{/sha}","comments_url":"https://api.github.com/repos/minetest/minetest/comments{/number}","issue_comment_url":"https://api.github.com/repos/minetest/minetest/issues/comments/{number}","contents_url":"https://api.github.com/repos/minetest/minetest/contents/{+path}","compare_url":"https://api.github.com/repos/minetest/minetest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minetest/minetest/merges","archive_url":"https://api.github.com/repos/minetest/minetest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minetest/minetest/downloads","issues_url":"https://api.github.com/repos/minetest/minetest/issues{/number}","pulls_url":"https://api.github.com/repos/minetest/minetest/pulls{/number}","milestones_url":"https://api.github.com/repos/minetest/minetest/milestones{/number}","notifications_url":"https://api.github.com/repos/minetest/minetest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minetest/minetest/labels{/name}","releases_url":"https://api.github.com/repos/minetest/minetest/releases{/id}","created_at":"2011-08-07T13:48:36Z","updated_at":"2015-01-20T12:56:44Z","pushed_at":"2015-01-20T12:56:44Z","git_url":"git://github.com/minetest/minetest.git","ssh_url":"git@github.com:minetest/minetest.git","clone_url":"https://github.com/minetest/minetest.git","svn_url":"https://github.com/minetest/minetest","homepage":"http://minetest.net/","size":78790,"stargazers_count":1330,"watchers_count":1330,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":452,"mirror_url":null,"open_issues_count":453,"forks":452,"open_issues":453,"watchers":1330,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minetest/minetest/pulls/2153"},"html":{"href":"https://github.com/minetest/minetest/pull/2153"},"issue":{"href":"https://api.github.com/repos/minetest/minetest/issues/2153"},"comments":{"href":"https://api.github.com/repos/minetest/minetest/issues/2153/comments"},"review_comments":{"href":"https://api.github.com/repos/minetest/minetest/pulls/2153/comments"},"review_comment":{"href":"https://api.github.com/repos/minetest/minetest/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/minetest/minetest/pulls/2153/commits"},"statuses":{"href":"https://api.github.com/repos/minetest/minetest/statuses/eea6d261c001c186f08400ad5d45ea5cca7a7ee7"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":5,"review_comments":2,"commits":1,"additions":137,"deletions":98,"changed_files":2}}