{"action":"opened","number":1320,"pull_request":{"url":"https://api.github.com/repos/yihui/knitr/pulls/1320","id":93809198,"html_url":"https://github.com/yihui/knitr/pull/1320","diff_url":"https://github.com/yihui/knitr/pull/1320.diff","patch_url":"https://github.com/yihui/knitr/pull/1320.patch","issue_url":"https://api.github.com/repos/yihui/knitr/issues/1320","number":1320,"state":"open","locked":false,"title":"add hook_pngquant()","user":{"login":"slowkow","id":209714,"avatar_url":"https://avatars.githubusercontent.com/u/209714?v=3","gravatar_id":"","url":"https://api.github.com/users/slowkow","html_url":"https://github.com/slowkow","followers_url":"https://api.github.com/users/slowkow/followers","following_url":"https://api.github.com/users/slowkow/following{/other_user}","gists_url":"https://api.github.com/users/slowkow/gists{/gist_id}","starred_url":"https://api.github.com/users/slowkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slowkow/subscriptions","organizations_url":"https://api.github.com/users/slowkow/orgs","repos_url":"https://api.github.com/users/slowkow/repos","events_url":"https://api.github.com/users/slowkow/events{/privacy}","received_events_url":"https://api.github.com/users/slowkow/received_events","type":"User","site_admin":false},"body":"Read more about pngquant: <https://pngquant.org/>\r\n\r\nCompare pngquant, optipng, pngcrush, pngnq:\r\n\r\n<http://pointlessramblings.com/posts/pngquant_vs_pngcrush_vs_optipng_vs_pngnq/>\r\n\r\nSee [this gist][1] that compares `hook_optipng` and `hook_pngquant`. In my tests, I find that `pngquant` produces smaller files that look better.\r\n\r\n[1]: https://gist.github.com/slowkow/6c57fdbbde4a3b980045661d988c6f59","created_at":"2016-11-15T17:17:02Z","updated_at":"2016-11-15T17:17:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbbb9fae00f6d35dae426ea939d5271c82e0f2e8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yihui/knitr/pulls/1320/commits","review_comments_url":"https://api.github.com/repos/yihui/knitr/pulls/1320/comments","review_comment_url":"https://api.github.com/repos/yihui/knitr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yihui/knitr/issues/1320/comments","statuses_url":"https://api.github.com/repos/yihui/knitr/statuses/2e349d2c3707afae6034e265646dcbd4b640c58a","head":{"label":"slowkow:master","ref":"master","sha":"2e349d2c3707afae6034e265646dcbd4b640c58a","user":{"login":"slowkow","id":209714,"avatar_url":"https://avatars.githubusercontent.com/u/209714?v=3","gravatar_id":"","url":"https://api.github.com/users/slowkow","html_url":"https://github.com/slowkow","followers_url":"https://api.github.com/users/slowkow/followers","following_url":"https://api.github.com/users/slowkow/following{/other_user}","gists_url":"https://api.github.com/users/slowkow/gists{/gist_id}","starred_url":"https://api.github.com/users/slowkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slowkow/subscriptions","organizations_url":"https://api.github.com/users/slowkow/orgs","repos_url":"https://api.github.com/users/slowkow/repos","events_url":"https://api.github.com/users/slowkow/events{/privacy}","received_events_url":"https://api.github.com/users/slowkow/received_events","type":"User","site_admin":false},"repo":{"id":73834558,"name":"knitr","full_name":"slowkow/knitr","owner":{"login":"slowkow","id":209714,"avatar_url":"https://avatars.githubusercontent.com/u/209714?v=3","gravatar_id":"","url":"https://api.github.com/users/slowkow","html_url":"https://github.com/slowkow","followers_url":"https://api.github.com/users/slowkow/followers","following_url":"https://api.github.com/users/slowkow/following{/other_user}","gists_url":"https://api.github.com/users/slowkow/gists{/gist_id}","starred_url":"https://api.github.com/users/slowkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slowkow/subscriptions","organizations_url":"https://api.github.com/users/slowkow/orgs","repos_url":"https://api.github.com/users/slowkow/repos","events_url":"https://api.github.com/users/slowkow/events{/privacy}","received_events_url":"https://api.github.com/users/slowkow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/slowkow/knitr","description":"A general-purpose tool for dynamic report generation in R","fork":true,"url":"https://api.github.com/repos/slowkow/knitr","forks_url":"https://api.github.com/repos/slowkow/knitr/forks","keys_url":"https://api.github.com/repos/slowkow/knitr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slowkow/knitr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slowkow/knitr/teams","hooks_url":"https://api.github.com/repos/slowkow/knitr/hooks","issue_events_url":"https://api.github.com/repos/slowkow/knitr/issues/events{/number}","events_url":"https://api.github.com/repos/slowkow/knitr/events","assignees_url":"https://api.github.com/repos/slowkow/knitr/assignees{/user}","branches_url":"https://api.github.com/repos/slowkow/knitr/branches{/branch}","tags_url":"https://api.github.com/repos/slowkow/knitr/tags","blobs_url":"https://api.github.com/repos/slowkow/knitr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slowkow/knitr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slowkow/knitr/git/refs{/sha}","trees_url":"https://api.github.com/repos/slowkow/knitr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slowkow/knitr/statuses/{sha}","languages_url":"https://api.github.com/repos/slowkow/knitr/languages","stargazers_url":"https://api.github.com/repos/slowkow/knitr/stargazers","contributors_url":"https://api.github.com/repos/slowkow/knitr/contributors","subscribers_url":"https://api.github.com/repos/slowkow/knitr/subscribers","subscription_url":"https://api.github.com/repos/slowkow/knitr/subscription","commits_url":"https://api.github.com/repos/slowkow/knitr/commits{/sha}","git_commits_url":"https://api.github.com/repos/slowkow/knitr/git/commits{/sha}","comments_url":"https://api.github.com/repos/slowkow/knitr/comments{/number}","issue_comment_url":"https://api.github.com/repos/slowkow/knitr/issues/comments{/number}","contents_url":"https://api.github.com/repos/slowkow/knitr/contents/{+path}","compare_url":"https://api.github.com/repos/slowkow/knitr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slowkow/knitr/merges","archive_url":"https://api.github.com/repos/slowkow/knitr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slowkow/knitr/downloads","issues_url":"https://api.github.com/repos/slowkow/knitr/issues{/number}","pulls_url":"https://api.github.com/repos/slowkow/knitr/pulls{/number}","milestones_url":"https://api.github.com/repos/slowkow/knitr/milestones{/number}","notifications_url":"https://api.github.com/repos/slowkow/knitr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slowkow/knitr/labels{/name}","releases_url":"https://api.github.com/repos/slowkow/knitr/releases{/id}","deployments_url":"https://api.github.com/repos/slowkow/knitr/deployments","created_at":"2016-11-15T16:45:49Z","updated_at":"2016-11-15T16:45:51Z","pushed_at":"2016-11-15T17:12:08Z","git_url":"git://github.com/slowkow/knitr.git","ssh_url":"git@github.com:slowkow/knitr.git","clone_url":"https://github.com/slowkow/knitr.git","svn_url":"https://github.com/slowkow/knitr","homepage":"http://yihui.name/knitr","size":8951,"stargazers_count":0,"watchers_count":0,"language":"R","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":"yihui:master","ref":"master","sha":"b08a7bca777a9ce27c17e15d123a5e8e43139791","user":{"login":"yihui","id":163582,"avatar_url":"https://avatars.githubusercontent.com/u/163582?v=3","gravatar_id":"","url":"https://api.github.com/users/yihui","html_url":"https://github.com/yihui","followers_url":"https://api.github.com/users/yihui/followers","following_url":"https://api.github.com/users/yihui/following{/other_user}","gists_url":"https://api.github.com/users/yihui/gists{/gist_id}","starred_url":"https://api.github.com/users/yihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yihui/subscriptions","organizations_url":"https://api.github.com/users/yihui/orgs","repos_url":"https://api.github.com/users/yihui/repos","events_url":"https://api.github.com/users/yihui/events{/privacy}","received_events_url":"https://api.github.com/users/yihui/received_events","type":"User","site_admin":false},"repo":{"id":2594513,"name":"knitr","full_name":"yihui/knitr","owner":{"login":"yihui","id":163582,"avatar_url":"https://avatars.githubusercontent.com/u/163582?v=3","gravatar_id":"","url":"https://api.github.com/users/yihui","html_url":"https://github.com/yihui","followers_url":"https://api.github.com/users/yihui/followers","following_url":"https://api.github.com/users/yihui/following{/other_user}","gists_url":"https://api.github.com/users/yihui/gists{/gist_id}","starred_url":"https://api.github.com/users/yihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yihui/subscriptions","organizations_url":"https://api.github.com/users/yihui/orgs","repos_url":"https://api.github.com/users/yihui/repos","events_url":"https://api.github.com/users/yihui/events{/privacy}","received_events_url":"https://api.github.com/users/yihui/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yihui/knitr","description":"A general-purpose tool for dynamic report generation in R","fork":false,"url":"https://api.github.com/repos/yihui/knitr","forks_url":"https://api.github.com/repos/yihui/knitr/forks","keys_url":"https://api.github.com/repos/yihui/knitr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yihui/knitr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yihui/knitr/teams","hooks_url":"https://api.github.com/repos/yihui/knitr/hooks","issue_events_url":"https://api.github.com/repos/yihui/knitr/issues/events{/number}","events_url":"https://api.github.com/repos/yihui/knitr/events","assignees_url":"https://api.github.com/repos/yihui/knitr/assignees{/user}","branches_url":"https://api.github.com/repos/yihui/knitr/branches{/branch}","tags_url":"https://api.github.com/repos/yihui/knitr/tags","blobs_url":"https://api.github.com/repos/yihui/knitr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yihui/knitr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yihui/knitr/git/refs{/sha}","trees_url":"https://api.github.com/repos/yihui/knitr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yihui/knitr/statuses/{sha}","languages_url":"https://api.github.com/repos/yihui/knitr/languages","stargazers_url":"https://api.github.com/repos/yihui/knitr/stargazers","contributors_url":"https://api.github.com/repos/yihui/knitr/contributors","subscribers_url":"https://api.github.com/repos/yihui/knitr/subscribers","subscription_url":"https://api.github.com/repos/yihui/knitr/subscription","commits_url":"https://api.github.com/repos/yihui/knitr/commits{/sha}","git_commits_url":"https://api.github.com/repos/yihui/knitr/git/commits{/sha}","comments_url":"https://api.github.com/repos/yihui/knitr/comments{/number}","issue_comment_url":"https://api.github.com/repos/yihui/knitr/issues/comments{/number}","contents_url":"https://api.github.com/repos/yihui/knitr/contents/{+path}","compare_url":"https://api.github.com/repos/yihui/knitr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yihui/knitr/merges","archive_url":"https://api.github.com/repos/yihui/knitr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yihui/knitr/downloads","issues_url":"https://api.github.com/repos/yihui/knitr/issues{/number}","pulls_url":"https://api.github.com/repos/yihui/knitr/pulls{/number}","milestones_url":"https://api.github.com/repos/yihui/knitr/milestones{/number}","notifications_url":"https://api.github.com/repos/yihui/knitr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yihui/knitr/labels{/name}","releases_url":"https://api.github.com/repos/yihui/knitr/releases{/id}","deployments_url":"https://api.github.com/repos/yihui/knitr/deployments","created_at":"2011-10-17T20:09:04Z","updated_at":"2016-11-14T05:38:23Z","pushed_at":"2016-11-15T17:17:02Z","git_url":"git://github.com/yihui/knitr.git","ssh_url":"git@github.com:yihui/knitr.git","clone_url":"https://github.com/yihui/knitr.git","svn_url":"https://github.com/yihui/knitr","homepage":"http://yihui.name/knitr","size":8951,"stargazers_count":1263,"watchers_count":1263,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":579,"mirror_url":null,"open_issues_count":17,"forks":579,"open_issues":17,"watchers":1263,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yihui/knitr/pulls/1320"},"html":{"href":"https://github.com/yihui/knitr/pull/1320"},"issue":{"href":"https://api.github.com/repos/yihui/knitr/issues/1320"},"comments":{"href":"https://api.github.com/repos/yihui/knitr/issues/1320/comments"},"review_comments":{"href":"https://api.github.com/repos/yihui/knitr/pulls/1320/comments"},"review_comment":{"href":"https://api.github.com/repos/yihui/knitr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yihui/knitr/pulls/1320/commits"},"statuses":{"href":"https://api.github.com/repos/yihui/knitr/statuses/2e349d2c3707afae6034e265646dcbd4b640c58a"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":45,"deletions":0,"changed_files":4}}
{"actor":{"display_login":"slowkow"}}