{"action":"closed","number":19,"pull_request":{"url":"https://api.github.com/repos/davidbyttow/govips/pulls/19","id":150669784,"html_url":"https://github.com/davidbyttow/govips/pull/19","diff_url":"https://github.com/davidbyttow/govips/pull/19.diff","patch_url":"https://github.com/davidbyttow/govips/pull/19.patch","issue_url":"https://api.github.com/repos/davidbyttow/govips/issues/19","number":19,"state":"closed","locked":false,"title":"Add support for compression and lossless options","user":{"login":"mikestead","id":56844,"avatar_url":"https://avatars3.githubusercontent.com/u/56844?v=4","gravatar_id":"","url":"https://api.github.com/users/mikestead","html_url":"https://github.com/mikestead","followers_url":"https://api.github.com/users/mikestead/followers","following_url":"https://api.github.com/users/mikestead/following{/other_user}","gists_url":"https://api.github.com/users/mikestead/gists{/gist_id}","starred_url":"https://api.github.com/users/mikestead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikestead/subscriptions","organizations_url":"https://api.github.com/users/mikestead/orgs","repos_url":"https://api.github.com/users/mikestead/repos","events_url":"https://api.github.com/users/mikestead/events{/privacy}","received_events_url":"https://api.github.com/users/mikestead/received_events","type":"User","site_admin":false},"body":"Just a small addition to add the option of [Lossless](https://github.com/jcupitt/libvips/blob/master/libvips/foreign/webpsave.c#L367) compression for webp images.\r\n\r\nWhile I was in there I also surfaced the `Compression(int)` option you'd added but which wasn't available through `Transform`.\r\n\r\nI've had a test of these in my project and they both seem to be functioning ok, but I was having some issues getting your tests running locally so if you could give it the once over.\r\n\r\nLet me know if you'd like any other tests.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/davidbyttow/govips/19)\n<!-- Reviewable:end -->\n","created_at":"2017-11-04T09:46:23Z","updated_at":"2017-11-06T02:23:58Z","closed_at":"2017-11-06T02:23:58Z","merged_at":"2017-11-06T02:23:58Z","merge_commit_sha":"f1cb892ad6fdcb400a2476f312661b267980228d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/davidbyttow/govips/pulls/19/commits","review_comments_url":"https://api.github.com/repos/davidbyttow/govips/pulls/19/comments","review_comment_url":"https://api.github.com/repos/davidbyttow/govips/pulls/comments{/number}","comments_url":"https://api.github.com/repos/davidbyttow/govips/issues/19/comments","statuses_url":"https://api.github.com/repos/davidbyttow/govips/statuses/e36c714f9249628f982c8c2dd2f8f01a226fc8c0","head":{"label":"mikestead:feature/compression-and-lossless","ref":"feature/compression-and-lossless","sha":"e36c714f9249628f982c8c2dd2f8f01a226fc8c0","user":{"login":"mikestead","id":56844,"avatar_url":"https://avatars3.githubusercontent.com/u/56844?v=4","gravatar_id":"","url":"https://api.github.com/users/mikestead","html_url":"https://github.com/mikestead","followers_url":"https://api.github.com/users/mikestead/followers","following_url":"https://api.github.com/users/mikestead/following{/other_user}","gists_url":"https://api.github.com/users/mikestead/gists{/gist_id}","starred_url":"https://api.github.com/users/mikestead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikestead/subscriptions","organizations_url":"https://api.github.com/users/mikestead/orgs","repos_url":"https://api.github.com/users/mikestead/repos","events_url":"https://api.github.com/users/mikestead/events{/privacy}","received_events_url":"https://api.github.com/users/mikestead/received_events","type":"User","site_admin":false},"repo":{"id":109481297,"name":"govips","full_name":"mikestead/govips","owner":{"login":"mikestead","id":56844,"avatar_url":"https://avatars3.githubusercontent.com/u/56844?v=4","gravatar_id":"","url":"https://api.github.com/users/mikestead","html_url":"https://github.com/mikestead","followers_url":"https://api.github.com/users/mikestead/followers","following_url":"https://api.github.com/users/mikestead/following{/other_user}","gists_url":"https://api.github.com/users/mikestead/gists{/gist_id}","starred_url":"https://api.github.com/users/mikestead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikestead/subscriptions","organizations_url":"https://api.github.com/users/mikestead/orgs","repos_url":"https://api.github.com/users/mikestead/repos","events_url":"https://api.github.com/users/mikestead/events{/privacy}","received_events_url":"https://api.github.com/users/mikestead/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikestead/govips","description":"A fast and robust image library for Go built on libvips","fork":true,"url":"https://api.github.com/repos/mikestead/govips","forks_url":"https://api.github.com/repos/mikestead/govips/forks","keys_url":"https://api.github.com/repos/mikestead/govips/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikestead/govips/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikestead/govips/teams","hooks_url":"https://api.github.com/repos/mikestead/govips/hooks","issue_events_url":"https://api.github.com/repos/mikestead/govips/issues/events{/number}","events_url":"https://api.github.com/repos/mikestead/govips/events","assignees_url":"https://api.github.com/repos/mikestead/govips/assignees{/user}","branches_url":"https://api.github.com/repos/mikestead/govips/branches{/branch}","tags_url":"https://api.github.com/repos/mikestead/govips/tags","blobs_url":"https://api.github.com/repos/mikestead/govips/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikestead/govips/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikestead/govips/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikestead/govips/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikestead/govips/statuses/{sha}","languages_url":"https://api.github.com/repos/mikestead/govips/languages","stargazers_url":"https://api.github.com/repos/mikestead/govips/stargazers","contributors_url":"https://api.github.com/repos/mikestead/govips/contributors","subscribers_url":"https://api.github.com/repos/mikestead/govips/subscribers","subscription_url":"https://api.github.com/repos/mikestead/govips/subscription","commits_url":"https://api.github.com/repos/mikestead/govips/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikestead/govips/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikestead/govips/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikestead/govips/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikestead/govips/contents/{+path}","compare_url":"https://api.github.com/repos/mikestead/govips/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikestead/govips/merges","archive_url":"https://api.github.com/repos/mikestead/govips/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikestead/govips/downloads","issues_url":"https://api.github.com/repos/mikestead/govips/issues{/number}","pulls_url":"https://api.github.com/repos/mikestead/govips/pulls{/number}","milestones_url":"https://api.github.com/repos/mikestead/govips/milestones{/number}","notifications_url":"https://api.github.com/repos/mikestead/govips/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikestead/govips/labels{/name}","releases_url":"https://api.github.com/repos/mikestead/govips/releases{/id}","deployments_url":"https://api.github.com/repos/mikestead/govips/deployments","created_at":"2017-11-04T09:08:07Z","updated_at":"2017-11-04T09:08:09Z","pushed_at":"2017-11-04T09:26:18Z","git_url":"git://github.com/mikestead/govips.git","ssh_url":"git@github.com:mikestead/govips.git","clone_url":"https://github.com/mikestead/govips.git","svn_url":"https://github.com/mikestead/govips","homepage":"","size":4989,"stargazers_count":0,"watchers_count":0,"language":"Go","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,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"davidbyttow:master","ref":"master","sha":"c3f27ee1f4d5063cd43fec3cd571e590df43f5d5","user":{"login":"davidbyttow","id":1735553,"avatar_url":"https://avatars3.githubusercontent.com/u/1735553?v=4","gravatar_id":"","url":"https://api.github.com/users/davidbyttow","html_url":"https://github.com/davidbyttow","followers_url":"https://api.github.com/users/davidbyttow/followers","following_url":"https://api.github.com/users/davidbyttow/following{/other_user}","gists_url":"https://api.github.com/users/davidbyttow/gists{/gist_id}","starred_url":"https://api.github.com/users/davidbyttow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidbyttow/subscriptions","organizations_url":"https://api.github.com/users/davidbyttow/orgs","repos_url":"https://api.github.com/users/davidbyttow/repos","events_url":"https://api.github.com/users/davidbyttow/events{/privacy}","received_events_url":"https://api.github.com/users/davidbyttow/received_events","type":"User","site_admin":false},"repo":{"id":77310444,"name":"govips","full_name":"davidbyttow/govips","owner":{"login":"davidbyttow","id":1735553,"avatar_url":"https://avatars3.githubusercontent.com/u/1735553?v=4","gravatar_id":"","url":"https://api.github.com/users/davidbyttow","html_url":"https://github.com/davidbyttow","followers_url":"https://api.github.com/users/davidbyttow/followers","following_url":"https://api.github.com/users/davidbyttow/following{/other_user}","gists_url":"https://api.github.com/users/davidbyttow/gists{/gist_id}","starred_url":"https://api.github.com/users/davidbyttow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidbyttow/subscriptions","organizations_url":"https://api.github.com/users/davidbyttow/orgs","repos_url":"https://api.github.com/users/davidbyttow/repos","events_url":"https://api.github.com/users/davidbyttow/events{/privacy}","received_events_url":"https://api.github.com/users/davidbyttow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidbyttow/govips","description":"A fast and robust image library for Go built on libvips","fork":false,"url":"https://api.github.com/repos/davidbyttow/govips","forks_url":"https://api.github.com/repos/davidbyttow/govips/forks","keys_url":"https://api.github.com/repos/davidbyttow/govips/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidbyttow/govips/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidbyttow/govips/teams","hooks_url":"https://api.github.com/repos/davidbyttow/govips/hooks","issue_events_url":"https://api.github.com/repos/davidbyttow/govips/issues/events{/number}","events_url":"https://api.github.com/repos/davidbyttow/govips/events","assignees_url":"https://api.github.com/repos/davidbyttow/govips/assignees{/user}","branches_url":"https://api.github.com/repos/davidbyttow/govips/branches{/branch}","tags_url":"https://api.github.com/repos/davidbyttow/govips/tags","blobs_url":"https://api.github.com/repos/davidbyttow/govips/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidbyttow/govips/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidbyttow/govips/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidbyttow/govips/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidbyttow/govips/statuses/{sha}","languages_url":"https://api.github.com/repos/davidbyttow/govips/languages","stargazers_url":"https://api.github.com/repos/davidbyttow/govips/stargazers","contributors_url":"https://api.github.com/repos/davidbyttow/govips/contributors","subscribers_url":"https://api.github.com/repos/davidbyttow/govips/subscribers","subscription_url":"https://api.github.com/repos/davidbyttow/govips/subscription","commits_url":"https://api.github.com/repos/davidbyttow/govips/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidbyttow/govips/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidbyttow/govips/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidbyttow/govips/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidbyttow/govips/contents/{+path}","compare_url":"https://api.github.com/repos/davidbyttow/govips/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidbyttow/govips/merges","archive_url":"https://api.github.com/repos/davidbyttow/govips/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidbyttow/govips/downloads","issues_url":"https://api.github.com/repos/davidbyttow/govips/issues{/number}","pulls_url":"https://api.github.com/repos/davidbyttow/govips/pulls{/number}","milestones_url":"https://api.github.com/repos/davidbyttow/govips/milestones{/number}","notifications_url":"https://api.github.com/repos/davidbyttow/govips/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidbyttow/govips/labels{/name}","releases_url":"https://api.github.com/repos/davidbyttow/govips/releases{/id}","deployments_url":"https://api.github.com/repos/davidbyttow/govips/deployments","created_at":"2016-12-25T04:32:56Z","updated_at":"2017-11-05T22:29:28Z","pushed_at":"2017-11-06T02:23:58Z","git_url":"git://github.com/davidbyttow/govips.git","ssh_url":"git@github.com:davidbyttow/govips.git","clone_url":"https://github.com/davidbyttow/govips.git","svn_url":"https://github.com/davidbyttow/govips","homepage":"","size":4989,"stargazers_count":165,"watchers_count":165,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":11,"open_issues":0,"watchers":165,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/davidbyttow/govips/pulls/19"},"html":{"href":"https://github.com/davidbyttow/govips/pull/19"},"issue":{"href":"https://api.github.com/repos/davidbyttow/govips/issues/19"},"comments":{"href":"https://api.github.com/repos/davidbyttow/govips/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/davidbyttow/govips/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/davidbyttow/govips/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/davidbyttow/govips/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/davidbyttow/govips/statuses/e36c714f9249628f982c8c2dd2f8f01a226fc8c0"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"davidbyttow","id":1735553,"avatar_url":"https://avatars3.githubusercontent.com/u/1735553?v=4","gravatar_id":"","url":"https://api.github.com/users/davidbyttow","html_url":"https://github.com/davidbyttow","followers_url":"https://api.github.com/users/davidbyttow/followers","following_url":"https://api.github.com/users/davidbyttow/following{/other_user}","gists_url":"https://api.github.com/users/davidbyttow/gists{/gist_id}","starred_url":"https://api.github.com/users/davidbyttow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidbyttow/subscriptions","organizations_url":"https://api.github.com/users/davidbyttow/orgs","repos_url":"https://api.github.com/users/davidbyttow/repos","events_url":"https://api.github.com/users/davidbyttow/events{/privacy}","received_events_url":"https://api.github.com/users/davidbyttow/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":41,"deletions":23,"changed_files":6}}
{"actor":{"display_login":"davidbyttow"}}