{"action":"opened","number":144,"pull_request":{"url":"https://api.github.com/repos/shssoichiro/oxipng/pulls/144","id":230623012,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNjIzMDEy","html_url":"https://github.com/shssoichiro/oxipng/pull/144","diff_url":"https://github.com/shssoichiro/oxipng/pull/144.diff","patch_url":"https://github.com/shssoichiro/oxipng/pull/144.patch","issue_url":"https://api.github.com/repos/shssoichiro/oxipng/issues/144","number":144,"state":"open","locked":false,"title":"Alpha heuristic improvements","user":{"login":"kornelski","id":72159,"node_id":"MDQ6VXNlcjcyMTU5","avatar_url":"https://avatars0.githubusercontent.com/u/72159?v=4","gravatar_id":"","url":"https://api.github.com/users/kornelski","html_url":"https://github.com/kornelski","followers_url":"https://api.github.com/users/kornelski/followers","following_url":"https://api.github.com/users/kornelski/following{/other_user}","gists_url":"https://api.github.com/users/kornelski/gists{/gist_id}","starred_url":"https://api.github.com/users/kornelski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kornelski/subscriptions","organizations_url":"https://api.github.com/users/kornelski/orgs","repos_url":"https://api.github.com/users/kornelski/repos","events_url":"https://api.github.com/users/kornelski/events{/privacy}","received_events_url":"https://api.github.com/users/kornelski/received_events","type":"User","site_admin":false},"body":"1. I've found an image that with alpha reductions is compressed worse than without alpha reductions (I can't share the image, as it's private). That's because zlib strategy = 2 ignores repetitions, and picks alpha that compresses badly with a better strategy.\r\n\r\n2. Cloning of image makes copy of both idat and raw data, but in alpha reductions both are getting replaced immediately, which is wasteful. I've made alpha reductions return only copy of relevant data.","created_at":"2018-11-13T21:00:59Z","updated_at":"2018-11-13T21:00:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/shssoichiro/oxipng/pulls/144/commits","review_comments_url":"https://api.github.com/repos/shssoichiro/oxipng/pulls/144/comments","review_comment_url":"https://api.github.com/repos/shssoichiro/oxipng/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shssoichiro/oxipng/issues/144/comments","statuses_url":"https://api.github.com/repos/shssoichiro/oxipng/statuses/2eb057102fb4619ccb1e320440c2e9e34f9bf151","head":{"label":"kornelski:alphaheuristic","ref":"alphaheuristic","sha":"2eb057102fb4619ccb1e320440c2e9e34f9bf151","user":{"login":"kornelski","id":72159,"node_id":"MDQ6VXNlcjcyMTU5","avatar_url":"https://avatars0.githubusercontent.com/u/72159?v=4","gravatar_id":"","url":"https://api.github.com/users/kornelski","html_url":"https://github.com/kornelski","followers_url":"https://api.github.com/users/kornelski/followers","following_url":"https://api.github.com/users/kornelski/following{/other_user}","gists_url":"https://api.github.com/users/kornelski/gists{/gist_id}","starred_url":"https://api.github.com/users/kornelski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kornelski/subscriptions","organizations_url":"https://api.github.com/users/kornelski/orgs","repos_url":"https://api.github.com/users/kornelski/repos","events_url":"https://api.github.com/users/kornelski/events{/privacy}","received_events_url":"https://api.github.com/users/kornelski/received_events","type":"User","site_admin":false},"repo":{"id":135466858,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU0NjY4NTg=","name":"oxipng","full_name":"kornelski/oxipng","private":false,"owner":{"login":"kornelski","id":72159,"node_id":"MDQ6VXNlcjcyMTU5","avatar_url":"https://avatars0.githubusercontent.com/u/72159?v=4","gravatar_id":"","url":"https://api.github.com/users/kornelski","html_url":"https://github.com/kornelski","followers_url":"https://api.github.com/users/kornelski/followers","following_url":"https://api.github.com/users/kornelski/following{/other_user}","gists_url":"https://api.github.com/users/kornelski/gists{/gist_id}","starred_url":"https://api.github.com/users/kornelski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kornelski/subscriptions","organizations_url":"https://api.github.com/users/kornelski/orgs","repos_url":"https://api.github.com/users/kornelski/repos","events_url":"https://api.github.com/users/kornelski/events{/privacy}","received_events_url":"https://api.github.com/users/kornelski/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kornelski/oxipng","description":"PNG optimizer written in Rust","fork":true,"url":"https://api.github.com/repos/kornelski/oxipng","forks_url":"https://api.github.com/repos/kornelski/oxipng/forks","keys_url":"https://api.github.com/repos/kornelski/oxipng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kornelski/oxipng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kornelski/oxipng/teams","hooks_url":"https://api.github.com/repos/kornelski/oxipng/hooks","issue_events_url":"https://api.github.com/repos/kornelski/oxipng/issues/events{/number}","events_url":"https://api.github.com/repos/kornelski/oxipng/events","assignees_url":"https://api.github.com/repos/kornelski/oxipng/assignees{/user}","branches_url":"https://api.github.com/repos/kornelski/oxipng/branches{/branch}","tags_url":"https://api.github.com/repos/kornelski/oxipng/tags","blobs_url":"https://api.github.com/repos/kornelski/oxipng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kornelski/oxipng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kornelski/oxipng/git/refs{/sha}","trees_url":"https://api.github.com/repos/kornelski/oxipng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kornelski/oxipng/statuses/{sha}","languages_url":"https://api.github.com/repos/kornelski/oxipng/languages","stargazers_url":"https://api.github.com/repos/kornelski/oxipng/stargazers","contributors_url":"https://api.github.com/repos/kornelski/oxipng/contributors","subscribers_url":"https://api.github.com/repos/kornelski/oxipng/subscribers","subscription_url":"https://api.github.com/repos/kornelski/oxipng/subscription","commits_url":"https://api.github.com/repos/kornelski/oxipng/commits{/sha}","git_commits_url":"https://api.github.com/repos/kornelski/oxipng/git/commits{/sha}","comments_url":"https://api.github.com/repos/kornelski/oxipng/comments{/number}","issue_comment_url":"https://api.github.com/repos/kornelski/oxipng/issues/comments{/number}","contents_url":"https://api.github.com/repos/kornelski/oxipng/contents/{+path}","compare_url":"https://api.github.com/repos/kornelski/oxipng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kornelski/oxipng/merges","archive_url":"https://api.github.com/repos/kornelski/oxipng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kornelski/oxipng/downloads","issues_url":"https://api.github.com/repos/kornelski/oxipng/issues{/number}","pulls_url":"https://api.github.com/repos/kornelski/oxipng/pulls{/number}","milestones_url":"https://api.github.com/repos/kornelski/oxipng/milestones{/number}","notifications_url":"https://api.github.com/repos/kornelski/oxipng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kornelski/oxipng/labels{/name}","releases_url":"https://api.github.com/repos/kornelski/oxipng/releases{/id}","deployments_url":"https://api.github.com/repos/kornelski/oxipng/deployments","created_at":"2018-05-30T16:01:08Z","updated_at":"2018-11-13T20:55:02Z","pushed_at":"2018-11-13T20:59:22Z","git_url":"git://github.com/kornelski/oxipng.git","ssh_url":"git@github.com:kornelski/oxipng.git","clone_url":"https://github.com/kornelski/oxipng.git","svn_url":"https://github.com/kornelski/oxipng","homepage":"","size":19992,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"shssoichiro:master","ref":"master","sha":"96eda85806e451b37cbb41fc2cb758e01caaf167","user":{"login":"shssoichiro","id":5951392,"node_id":"MDQ6VXNlcjU5NTEzOTI=","avatar_url":"https://avatars3.githubusercontent.com/u/5951392?v=4","gravatar_id":"","url":"https://api.github.com/users/shssoichiro","html_url":"https://github.com/shssoichiro","followers_url":"https://api.github.com/users/shssoichiro/followers","following_url":"https://api.github.com/users/shssoichiro/following{/other_user}","gists_url":"https://api.github.com/users/shssoichiro/gists{/gist_id}","starred_url":"https://api.github.com/users/shssoichiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shssoichiro/subscriptions","organizations_url":"https://api.github.com/users/shssoichiro/orgs","repos_url":"https://api.github.com/users/shssoichiro/repos","events_url":"https://api.github.com/users/shssoichiro/events{/privacy}","received_events_url":"https://api.github.com/users/shssoichiro/received_events","type":"User","site_admin":false},"repo":{"id":49436331,"node_id":"MDEwOlJlcG9zaXRvcnk0OTQzNjMzMQ==","name":"oxipng","full_name":"shssoichiro/oxipng","private":false,"owner":{"login":"shssoichiro","id":5951392,"node_id":"MDQ6VXNlcjU5NTEzOTI=","avatar_url":"https://avatars3.githubusercontent.com/u/5951392?v=4","gravatar_id":"","url":"https://api.github.com/users/shssoichiro","html_url":"https://github.com/shssoichiro","followers_url":"https://api.github.com/users/shssoichiro/followers","following_url":"https://api.github.com/users/shssoichiro/following{/other_user}","gists_url":"https://api.github.com/users/shssoichiro/gists{/gist_id}","starred_url":"https://api.github.com/users/shssoichiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shssoichiro/subscriptions","organizations_url":"https://api.github.com/users/shssoichiro/orgs","repos_url":"https://api.github.com/users/shssoichiro/repos","events_url":"https://api.github.com/users/shssoichiro/events{/privacy}","received_events_url":"https://api.github.com/users/shssoichiro/received_events","type":"User","site_admin":false},"html_url":"https://github.com/shssoichiro/oxipng","description":"Multithreaded PNG optimizer written in Rust","fork":false,"url":"https://api.github.com/repos/shssoichiro/oxipng","forks_url":"https://api.github.com/repos/shssoichiro/oxipng/forks","keys_url":"https://api.github.com/repos/shssoichiro/oxipng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shssoichiro/oxipng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shssoichiro/oxipng/teams","hooks_url":"https://api.github.com/repos/shssoichiro/oxipng/hooks","issue_events_url":"https://api.github.com/repos/shssoichiro/oxipng/issues/events{/number}","events_url":"https://api.github.com/repos/shssoichiro/oxipng/events","assignees_url":"https://api.github.com/repos/shssoichiro/oxipng/assignees{/user}","branches_url":"https://api.github.com/repos/shssoichiro/oxipng/branches{/branch}","tags_url":"https://api.github.com/repos/shssoichiro/oxipng/tags","blobs_url":"https://api.github.com/repos/shssoichiro/oxipng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shssoichiro/oxipng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shssoichiro/oxipng/git/refs{/sha}","trees_url":"https://api.github.com/repos/shssoichiro/oxipng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shssoichiro/oxipng/statuses/{sha}","languages_url":"https://api.github.com/repos/shssoichiro/oxipng/languages","stargazers_url":"https://api.github.com/repos/shssoichiro/oxipng/stargazers","contributors_url":"https://api.github.com/repos/shssoichiro/oxipng/contributors","subscribers_url":"https://api.github.com/repos/shssoichiro/oxipng/subscribers","subscription_url":"https://api.github.com/repos/shssoichiro/oxipng/subscription","commits_url":"https://api.github.com/repos/shssoichiro/oxipng/commits{/sha}","git_commits_url":"https://api.github.com/repos/shssoichiro/oxipng/git/commits{/sha}","comments_url":"https://api.github.com/repos/shssoichiro/oxipng/comments{/number}","issue_comment_url":"https://api.github.com/repos/shssoichiro/oxipng/issues/comments{/number}","contents_url":"https://api.github.com/repos/shssoichiro/oxipng/contents/{+path}","compare_url":"https://api.github.com/repos/shssoichiro/oxipng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shssoichiro/oxipng/merges","archive_url":"https://api.github.com/repos/shssoichiro/oxipng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shssoichiro/oxipng/downloads","issues_url":"https://api.github.com/repos/shssoichiro/oxipng/issues{/number}","pulls_url":"https://api.github.com/repos/shssoichiro/oxipng/pulls{/number}","milestones_url":"https://api.github.com/repos/shssoichiro/oxipng/milestones{/number}","notifications_url":"https://api.github.com/repos/shssoichiro/oxipng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shssoichiro/oxipng/labels{/name}","releases_url":"https://api.github.com/repos/shssoichiro/oxipng/releases{/id}","deployments_url":"https://api.github.com/repos/shssoichiro/oxipng/deployments","created_at":"2016-01-11T15:45:39Z","updated_at":"2018-11-13T19:37:05Z","pushed_at":"2018-11-13T19:37:03Z","git_url":"git://github.com/shssoichiro/oxipng.git","ssh_url":"git@github.com:shssoichiro/oxipng.git","clone_url":"https://github.com/shssoichiro/oxipng.git","svn_url":"https://github.com/shssoichiro/oxipng","homepage":"","size":20003,"stargazers_count":500,"watchers_count":500,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":25,"open_issues":19,"watchers":500,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shssoichiro/oxipng/pulls/144"},"html":{"href":"https://github.com/shssoichiro/oxipng/pull/144"},"issue":{"href":"https://api.github.com/repos/shssoichiro/oxipng/issues/144"},"comments":{"href":"https://api.github.com/repos/shssoichiro/oxipng/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/shssoichiro/oxipng/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/shssoichiro/oxipng/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shssoichiro/oxipng/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/shssoichiro/oxipng/statuses/2eb057102fb4619ccb1e320440c2e9e34f9bf151"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":40,"deletions":37,"changed_files":2}}
{"actor":{"display_login":"kornelski"}}