{"action":"opened","number":127,"pull_request":{"url":"https://api.github.com/repos/romankh3/image-comparison/pulls/127","id":304946705,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA0OTQ2NzA1","html_url":"https://github.com/romankh3/image-comparison/pull/127","diff_url":"https://github.com/romankh3/image-comparison/pull/127.diff","patch_url":"https://github.com/romankh3/image-comparison/pull/127.patch","issue_url":"https://api.github.com/repos/romankh3/image-comparison/issues/127","number":127,"state":"open","locked":false,"title":"Added option to resize image if size mis-match","user":{"login":"KhaldAttya","id":37848834,"node_id":"MDQ6VXNlcjM3ODQ4ODM0","avatar_url":"https://avatars3.githubusercontent.com/u/37848834?v=4","gravatar_id":"","url":"https://api.github.com/users/KhaldAttya","html_url":"https://github.com/KhaldAttya","followers_url":"https://api.github.com/users/KhaldAttya/followers","following_url":"https://api.github.com/users/KhaldAttya/following{/other_user}","gists_url":"https://api.github.com/users/KhaldAttya/gists{/gist_id}","starred_url":"https://api.github.com/users/KhaldAttya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhaldAttya/subscriptions","organizations_url":"https://api.github.com/users/KhaldAttya/orgs","repos_url":"https://api.github.com/users/KhaldAttya/repos","events_url":"https://api.github.com/users/KhaldAttya/events{/privacy}","received_events_url":"https://api.github.com/users/KhaldAttya/received_events","type":"User","site_admin":false},"body":"I am using the the image-comparison library in mobile visual test automation and in some cases even with size mismatch it's practical to do the comparison despite the size difference that's in case of the design will keep it's ratio. \r\n\r\nanother case  the difference sometimes could be small number of pixels so that I find it very useful that we have an option to resize the actual image to the expected dimensions and then do the comparison.\r\n\r\nwating for your opinion and many thanks.   \r\n\r\n-Added overloaded function of compareImages(boolean resizeIfSizeMisMatch) to enable resizing to expected dimensions.\r\n-Added resize function to utils.","created_at":"2019-08-07T01:39:46Z","updated_at":"2019-08-07T01:39:46Z","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/romankh3/image-comparison/pulls/127/commits","review_comments_url":"https://api.github.com/repos/romankh3/image-comparison/pulls/127/comments","review_comment_url":"https://api.github.com/repos/romankh3/image-comparison/pulls/comments{/number}","comments_url":"https://api.github.com/repos/romankh3/image-comparison/issues/127/comments","statuses_url":"https://api.github.com/repos/romankh3/image-comparison/statuses/1927971be60295557b66cb79e1af1a67f6bb4a7e","head":{"label":"KhaldAttya:master","ref":"master","sha":"1927971be60295557b66cb79e1af1a67f6bb4a7e","user":{"login":"KhaldAttya","id":37848834,"node_id":"MDQ6VXNlcjM3ODQ4ODM0","avatar_url":"https://avatars3.githubusercontent.com/u/37848834?v=4","gravatar_id":"","url":"https://api.github.com/users/KhaldAttya","html_url":"https://github.com/KhaldAttya","followers_url":"https://api.github.com/users/KhaldAttya/followers","following_url":"https://api.github.com/users/KhaldAttya/following{/other_user}","gists_url":"https://api.github.com/users/KhaldAttya/gists{/gist_id}","starred_url":"https://api.github.com/users/KhaldAttya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhaldAttya/subscriptions","organizations_url":"https://api.github.com/users/KhaldAttya/orgs","repos_url":"https://api.github.com/users/KhaldAttya/repos","events_url":"https://api.github.com/users/KhaldAttya/events{/privacy}","received_events_url":"https://api.github.com/users/KhaldAttya/received_events","type":"User","site_admin":false},"repo":{"id":200945840,"node_id":"MDEwOlJlcG9zaXRvcnkyMDA5NDU4NDA=","name":"image-comparison","full_name":"KhaldAttya/image-comparison","private":false,"owner":{"login":"KhaldAttya","id":37848834,"node_id":"MDQ6VXNlcjM3ODQ4ODM0","avatar_url":"https://avatars3.githubusercontent.com/u/37848834?v=4","gravatar_id":"","url":"https://api.github.com/users/KhaldAttya","html_url":"https://github.com/KhaldAttya","followers_url":"https://api.github.com/users/KhaldAttya/followers","following_url":"https://api.github.com/users/KhaldAttya/following{/other_user}","gists_url":"https://api.github.com/users/KhaldAttya/gists{/gist_id}","starred_url":"https://api.github.com/users/KhaldAttya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhaldAttya/subscriptions","organizations_url":"https://api.github.com/users/KhaldAttya/orgs","repos_url":"https://api.github.com/users/KhaldAttya/repos","events_url":"https://api.github.com/users/KhaldAttya/events{/privacy}","received_events_url":"https://api.github.com/users/KhaldAttya/received_events","type":"User","site_admin":false},"html_url":"https://github.com/KhaldAttya/image-comparison","description":"Published on Maven Central Java Library that compares 2 images with the same sizes and shows the differences visually by drawing rectangles. Some parts of the image can be excluded from the comparison. Can be used for automation qa tests.","fork":true,"url":"https://api.github.com/repos/KhaldAttya/image-comparison","forks_url":"https://api.github.com/repos/KhaldAttya/image-comparison/forks","keys_url":"https://api.github.com/repos/KhaldAttya/image-comparison/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KhaldAttya/image-comparison/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KhaldAttya/image-comparison/teams","hooks_url":"https://api.github.com/repos/KhaldAttya/image-comparison/hooks","issue_events_url":"https://api.github.com/repos/KhaldAttya/image-comparison/issues/events{/number}","events_url":"https://api.github.com/repos/KhaldAttya/image-comparison/events","assignees_url":"https://api.github.com/repos/KhaldAttya/image-comparison/assignees{/user}","branches_url":"https://api.github.com/repos/KhaldAttya/image-comparison/branches{/branch}","tags_url":"https://api.github.com/repos/KhaldAttya/image-comparison/tags","blobs_url":"https://api.github.com/repos/KhaldAttya/image-comparison/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KhaldAttya/image-comparison/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KhaldAttya/image-comparison/git/refs{/sha}","trees_url":"https://api.github.com/repos/KhaldAttya/image-comparison/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KhaldAttya/image-comparison/statuses/{sha}","languages_url":"https://api.github.com/repos/KhaldAttya/image-comparison/languages","stargazers_url":"https://api.github.com/repos/KhaldAttya/image-comparison/stargazers","contributors_url":"https://api.github.com/repos/KhaldAttya/image-comparison/contributors","subscribers_url":"https://api.github.com/repos/KhaldAttya/image-comparison/subscribers","subscription_url":"https://api.github.com/repos/KhaldAttya/image-comparison/subscription","commits_url":"https://api.github.com/repos/KhaldAttya/image-comparison/commits{/sha}","git_commits_url":"https://api.github.com/repos/KhaldAttya/image-comparison/git/commits{/sha}","comments_url":"https://api.github.com/repos/KhaldAttya/image-comparison/comments{/number}","issue_comment_url":"https://api.github.com/repos/KhaldAttya/image-comparison/issues/comments{/number}","contents_url":"https://api.github.com/repos/KhaldAttya/image-comparison/contents/{+path}","compare_url":"https://api.github.com/repos/KhaldAttya/image-comparison/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KhaldAttya/image-comparison/merges","archive_url":"https://api.github.com/repos/KhaldAttya/image-comparison/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KhaldAttya/image-comparison/downloads","issues_url":"https://api.github.com/repos/KhaldAttya/image-comparison/issues{/number}","pulls_url":"https://api.github.com/repos/KhaldAttya/image-comparison/pulls{/number}","milestones_url":"https://api.github.com/repos/KhaldAttya/image-comparison/milestones{/number}","notifications_url":"https://api.github.com/repos/KhaldAttya/image-comparison/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KhaldAttya/image-comparison/labels{/name}","releases_url":"https://api.github.com/repos/KhaldAttya/image-comparison/releases{/id}","deployments_url":"https://api.github.com/repos/KhaldAttya/image-comparison/deployments","created_at":"2019-08-07T01:00:12Z","updated_at":"2019-08-07T01:06:07Z","pushed_at":"2019-08-07T01:06:05Z","git_url":"git://github.com/KhaldAttya/image-comparison.git","ssh_url":"git@github.com:KhaldAttya/image-comparison.git","clone_url":"https://github.com/KhaldAttya/image-comparison.git","svn_url":"https://github.com/KhaldAttya/image-comparison","homepage":"https://romankh3.github.io/image-comparison/","size":2407,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense","node_id":"MDc6TGljZW5zZTE1"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"romankh3:master","ref":"master","sha":"6cd36f7774f256388205eaf4d40b2bd03ba80a4d","user":{"login":"romankh3","id":16310793,"node_id":"MDQ6VXNlcjE2MzEwNzkz","avatar_url":"https://avatars2.githubusercontent.com/u/16310793?v=4","gravatar_id":"","url":"https://api.github.com/users/romankh3","html_url":"https://github.com/romankh3","followers_url":"https://api.github.com/users/romankh3/followers","following_url":"https://api.github.com/users/romankh3/following{/other_user}","gists_url":"https://api.github.com/users/romankh3/gists{/gist_id}","starred_url":"https://api.github.com/users/romankh3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romankh3/subscriptions","organizations_url":"https://api.github.com/users/romankh3/orgs","repos_url":"https://api.github.com/users/romankh3/repos","events_url":"https://api.github.com/users/romankh3/events{/privacy}","received_events_url":"https://api.github.com/users/romankh3/received_events","type":"User","site_admin":false},"repo":{"id":99270745,"node_id":"MDEwOlJlcG9zaXRvcnk5OTI3MDc0NQ==","name":"image-comparison","full_name":"romankh3/image-comparison","private":false,"owner":{"login":"romankh3","id":16310793,"node_id":"MDQ6VXNlcjE2MzEwNzkz","avatar_url":"https://avatars2.githubusercontent.com/u/16310793?v=4","gravatar_id":"","url":"https://api.github.com/users/romankh3","html_url":"https://github.com/romankh3","followers_url":"https://api.github.com/users/romankh3/followers","following_url":"https://api.github.com/users/romankh3/following{/other_user}","gists_url":"https://api.github.com/users/romankh3/gists{/gist_id}","starred_url":"https://api.github.com/users/romankh3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romankh3/subscriptions","organizations_url":"https://api.github.com/users/romankh3/orgs","repos_url":"https://api.github.com/users/romankh3/repos","events_url":"https://api.github.com/users/romankh3/events{/privacy}","received_events_url":"https://api.github.com/users/romankh3/received_events","type":"User","site_admin":false},"html_url":"https://github.com/romankh3/image-comparison","description":"Published on Maven Central Java Library that compares 2 images with the same sizes and shows the differences visually by drawing rectangles. Some parts of the image can be excluded from the comparison. Can be used for automation qa tests.","fork":false,"url":"https://api.github.com/repos/romankh3/image-comparison","forks_url":"https://api.github.com/repos/romankh3/image-comparison/forks","keys_url":"https://api.github.com/repos/romankh3/image-comparison/keys{/key_id}","collaborators_url":"https://api.github.com/repos/romankh3/image-comparison/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/romankh3/image-comparison/teams","hooks_url":"https://api.github.com/repos/romankh3/image-comparison/hooks","issue_events_url":"https://api.github.com/repos/romankh3/image-comparison/issues/events{/number}","events_url":"https://api.github.com/repos/romankh3/image-comparison/events","assignees_url":"https://api.github.com/repos/romankh3/image-comparison/assignees{/user}","branches_url":"https://api.github.com/repos/romankh3/image-comparison/branches{/branch}","tags_url":"https://api.github.com/repos/romankh3/image-comparison/tags","blobs_url":"https://api.github.com/repos/romankh3/image-comparison/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/romankh3/image-comparison/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/romankh3/image-comparison/git/refs{/sha}","trees_url":"https://api.github.com/repos/romankh3/image-comparison/git/trees{/sha}","statuses_url":"https://api.github.com/repos/romankh3/image-comparison/statuses/{sha}","languages_url":"https://api.github.com/repos/romankh3/image-comparison/languages","stargazers_url":"https://api.github.com/repos/romankh3/image-comparison/stargazers","contributors_url":"https://api.github.com/repos/romankh3/image-comparison/contributors","subscribers_url":"https://api.github.com/repos/romankh3/image-comparison/subscribers","subscription_url":"https://api.github.com/repos/romankh3/image-comparison/subscription","commits_url":"https://api.github.com/repos/romankh3/image-comparison/commits{/sha}","git_commits_url":"https://api.github.com/repos/romankh3/image-comparison/git/commits{/sha}","comments_url":"https://api.github.com/repos/romankh3/image-comparison/comments{/number}","issue_comment_url":"https://api.github.com/repos/romankh3/image-comparison/issues/comments{/number}","contents_url":"https://api.github.com/repos/romankh3/image-comparison/contents/{+path}","compare_url":"https://api.github.com/repos/romankh3/image-comparison/compare/{base}...{head}","merges_url":"https://api.github.com/repos/romankh3/image-comparison/merges","archive_url":"https://api.github.com/repos/romankh3/image-comparison/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/romankh3/image-comparison/downloads","issues_url":"https://api.github.com/repos/romankh3/image-comparison/issues{/number}","pulls_url":"https://api.github.com/repos/romankh3/image-comparison/pulls{/number}","milestones_url":"https://api.github.com/repos/romankh3/image-comparison/milestones{/number}","notifications_url":"https://api.github.com/repos/romankh3/image-comparison/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/romankh3/image-comparison/labels{/name}","releases_url":"https://api.github.com/repos/romankh3/image-comparison/releases{/id}","deployments_url":"https://api.github.com/repos/romankh3/image-comparison/deployments","created_at":"2017-08-03T20:07:43Z","updated_at":"2019-08-06T16:18:19Z","pushed_at":"2019-08-05T10:17:52Z","git_url":"git://github.com/romankh3/image-comparison.git","ssh_url":"git@github.com:romankh3/image-comparison.git","clone_url":"https://github.com/romankh3/image-comparison.git","svn_url":"https://github.com/romankh3/image-comparison","homepage":"https://romankh3.github.io/image-comparison/","size":2407,"stargazers_count":42,"watchers_count":42,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":26,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":7,"license":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense","node_id":"MDc6TGljZW5zZTE1"},"forks":26,"open_issues":7,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/romankh3/image-comparison/pulls/127"},"html":{"href":"https://github.com/romankh3/image-comparison/pull/127"},"issue":{"href":"https://api.github.com/repos/romankh3/image-comparison/issues/127"},"comments":{"href":"https://api.github.com/repos/romankh3/image-comparison/issues/127/comments"},"review_comments":{"href":"https://api.github.com/repos/romankh3/image-comparison/pulls/127/comments"},"review_comment":{"href":"https://api.github.com/repos/romankh3/image-comparison/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/romankh3/image-comparison/pulls/127/commits"},"statuses":{"href":"https://api.github.com/repos/romankh3/image-comparison/statuses/1927971be60295557b66cb79e1af1a67f6bb4a7e"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":68,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"KhaldAttya"}}